ui/motif/menu.c

changeset 169
fe49cff3c571
parent 153
ee49d1852a5f
child 176
bc63cb601f6d
--- a/ui/motif/menu.c	Fri Dec 11 11:47:30 2020 +0100
+++ b/ui/motif/menu.c	Sun May 23 09:44:43 2021 +0200
@@ -275,7 +275,7 @@
     }
     
     if(mi->groups) {
-        uic_add_group_widget(obj->ctx, mitem, mi->groups);
+        uic_add_group_widget(obj->ctx, mitem, (ui_enablefunc)XtSetSensitive, mi->groups);
     }
     
     return 1;
@@ -334,7 +334,7 @@
     }
     
     if(mi->groups) {
-        uic_add_group_widget(obj->ctx, mitem, mi->groups);
+        uic_add_group_widget(obj->ctx, mitem, (ui_enablefunc)XtSetSensitive, mi->groups);
     }
     
     return 1;

mercurial