Fix graying of Revert menu item
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 17:33:34 +0000 (18:33 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 17:33:34 +0000 (18:33 +0100)
The new code was checkmarking it in stead of enabling it!

menus.c

diff --git a/menus.c b/menus.c
index 7a775cf..f131a68 100644 (file)
--- a/menus.c
+++ b/menus.c
@@ -1091,8 +1091,8 @@ SetMachineThinkingEnables ()
 void
 GreyRevert (Boolean grey)
 {
-    MarkMenuItem("Edit.Revert", !grey);
-    MarkMenuItem("Edit.Annotate", !grey);
+    EnableNamedMenuItem("Edit.Revert", !grey);
+    EnableNamedMenuItem("Edit.Annotate", !grey);
 }
 
 char *