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:
bootchk 2024-06-17 08:17:28 -04:00 committed by Lloyd Konneker
parent 2341259f36
commit 5cc187b597
1 changed files with 5 additions and 0 deletions

View File

@ -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
{