]> git.lyx.org Git - features.git/commit
Remove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility...
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 11:42:01 +0000 (11:42 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 11:42:01 +0000 (11:42 +0000)
commite38c6048875d377fb37048f361d63c3118e945f4
tree2a6bf08023b33f000628875adae3b7fce0ecb921
parentb6c9aa32cdf756e7ff65a94376b2ffb7bb344ff5
Remove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility enum.

Now, there is the bug that autoallow is incorrectly set to true when visibility_ has the Visibility::SAMEROW flag. One shouldn't use >= on an enum (GuiToolbar::setVisibility), as newly added items will exhibit unexpected behaviour.

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