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:
Benoît Minisini 2023-03-17 02:29:59 +01:00
parent 27bb6ac58a
commit 0736122b2e

View file

@ -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);