svtools/source/config/menuoptions.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ce0bba5fc1090caa7fb80f1bcc6ce64f67f11238 Author: Michael Stahl <mst...@redhat.com> Date: Thu Aug 20 00:25:31 2015 +0200 tdf#93451: svtools: don't commit SvtMenuOptions too early Surprisingly SvtMenuOptions_Impl::ImplCommit() does not actually write m_eMenuIcons for "ShowIconsInMenues" but something read out of Application::Settings(), which appears to be deliberate (i#95318). Whatever sets that does it after SetMenuIconsState() is called, so keep the SvtMenuOptions modified by not calling Commit(). (regression from 765f6211b1371c1e40de386e715de6b3d1a8df86) Change-Id: I368b65589d16753d80a1b9e9cc7d7df59c0f53da diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 22dc5e6..32d54b2 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -128,7 +128,7 @@ class SvtMenuOptions_Impl : public ConfigItem SetModified(); for ( ::std::list<Link<>>::const_iterator iter = aList.begin(); iter != aList.end(); ++iter ) iter->Call( this ); - Commit(); + // tdf#93451: don't Commit() here, it's too early } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits