]> git.lyx.org Git - features.git/commit
Fix bug #7099: Math toolbars don't autoshow.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 14:39:41 +0000 (14:39 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 14:39:41 +0000 (14:39 +0000)
commit94ede89c5749ec664815353c5366a10156c11e67
tree9453776b24d57650e73a3041c4961f89d70f2727
parent85d72157633b4ab8433fff938a94482ce4aa7445
Fix bug #7099: Math toolbars don't autoshow.

In GuiApplication::readUIFile() the settings for views gets removed if the ui file is newer than the saved timestamp in the settings. Later the non existing settings will be used to initialize the visibility. The default value for a non existing setting is 0. The visibility_ variable does never get changed afterwards. And therefore
we will again write 0 to the registry.

We should have read the ui file instead when we can't find the registry value.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37075 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiToolbar.cpp