listen to andré

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20640 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2007-10-01 17:40:42 +00:00
parent 619a52ecc4
commit 893b969696

View File

@ -217,7 +217,7 @@ void IconPalette::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
@ -274,7 +274,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