loplugin:implicitboolconversion
Change-Id: Ic7e42f50adf85266ae6b61cf152c99081be11d4a
This commit is contained in:
parent
4943ee042a
commit
fcf5192a54
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void RemoveDisabledItemsFromNativeMenu(GLOMenu* pMenu, GList** pOldCommandList,
|
|||
{
|
||||
gchar* pCommand = g_lo_menu_get_command_from_item_in_section(pMenu, nSection, nSectionItems);
|
||||
// remove disabled entries
|
||||
bool bRemove = g_action_group_get_action_enabled(pActionGroup, pCommand) == FALSE;
|
||||
bool bRemove = !g_action_group_get_action_enabled(pActionGroup, pCommand);
|
||||
if (!bRemove)
|
||||
{
|
||||
//also remove any empty submenus
|
||||
|
|
Loading…
Reference in a new issue