[Okular-devel] [Bug 171186] Editing the toolbar hides it

Rafael Fernández López ereslibre at kde.org
Mon Oct 13 23:41:51 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=171186





--- Comment #5 from Rafael Fernández López <ereslibre kde org>  2008-10-13 23:41:49 ---
SVN commit 871100 by ereslibre:

Fix the problem of a toolbar being hidden if adding/removing actions on another
toolbar. Just have to disable temporarily the auto save setting of the main
window while we
regenerate the interface. It happens that in the case that auto save is
enabled, the main window is listening to appearance changes. After removing and
readding all the
containers of the window, KToolBar::loadState() was being called (on
createContainer()), which was triggering a save on the rc file of the app,
saving the settings that
XMLGUI has just set, and overriding the real user set ones. This disables this
temporarily, and sets auto save again back when the rebuild has finished.

BUG: 105525
BUG: 170150
CCBUG: 171186


 M  +29 -0     kedittoolbar.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=871100


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list