src/gui_actions.cpp

changeset 542
46a33bdc0b36
parent 539
72ad83a67165
child 550
d97594e3fc54
--- a/src/gui_actions.cpp	Fri Dec 06 00:29:44 2013 +0200
+++ b/src/gui_actions.cpp	Fri Dec 06 20:53:36 2013 +0200
@@ -466,7 +466,7 @@
 extern_cfg (Bool, gl_axes);
 DEFINE_ACTION (Axes, 0)
 {	gl_axes = !gl_axes;
-	ACTION (Axes)->setChecked (gl_axes);
+	g_win->updateActions();
 	g_win->R()->update();
 }
 
@@ -610,7 +610,7 @@
 // -----------------------------------------------------------------------------
 DEFINE_ACTION (BFCView, SHIFT (B))
 {	gl_colorbfc = !gl_colorbfc;
-	ACTION (BFCView)->setChecked (gl_colorbfc);
+	g_win->updateActions();
 	g_win->R()->refresh();
 }
 

mercurial