Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state.
[GB.GTK] * BUG: Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state. [GB.GTK3] * BUG: Menu: Setting the 'Radio' or the 'Toggle' property now correctly keep the 'Enabled' state.
This commit is contained in:
parent
27bb6ac58a
commit
0736122b2e
1 changed files with 6 additions and 0 deletions
|
@ -424,6 +424,12 @@ void gMenu::update()
|
|||
|
||||
//setColor();
|
||||
setFont();
|
||||
|
||||
if (_disabled)
|
||||
{
|
||||
gtk_widget_set_sensitive(GTK_WIDGET(menu), FALSE);
|
||||
updateShortcutRecursive();
|
||||
}
|
||||
}
|
||||
|
||||
//g_debug("%p: END UPDATE", this);
|
||||
|
|
Loading…
Reference in a new issue