mirror of https://github.com/GNOME/gimp.git
Fix #9851 radio menu groups fail show any active item
End the radio group of a submenu when the submenu ends. So subsequent radio menu items are in a new radio group.
This commit is contained in:
parent
2341259f36
commit
5cc187b597
|
@ -250,6 +250,11 @@ gimp_menu_append (GimpMenuShell *shell,
|
|||
g_signal_connect (submenu, "notify::color",
|
||||
G_CALLBACK (gimp_menu_submenu_notify_color),
|
||||
item);
|
||||
|
||||
/* End any radio group of the completed submenu.
|
||||
* Any subsequent radio menu items start a new radio group.
|
||||
*/
|
||||
group = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue