mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 11:52:45 +00:00
* src/frontends/qt4/IconPalette.cpp (updateParent): listen to André
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20651 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
591b11de53
commit
22561386d0
@ -219,7 +219,7 @@ void IconPalette::updateParent()
|
||||
}
|
||||
#else
|
||||
// we check only the first action to enable/disable the panel
|
||||
if (actions_.size() > 0)
|
||||
if (!actions_.isEmpty())
|
||||
enable = actions_.at(0)->isEnabled();
|
||||
#endif
|
||||
|
||||
@ -276,7 +276,7 @@ void ButtonMenu::updateParent()
|
||||
}
|
||||
#else
|
||||
// we check only the first action to enable/disable the menu
|
||||
if (actions_.size() > 0)
|
||||
if (!actions_.isEmpty())
|
||||
enable = actions_.at(0)->isEnabled();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user