src/actions.cc

changeset 851
dbed6938238c
parent 850
a3d72b0e916d
child 852
cbd89b33f70d
--- a/src/actions.cc	Sun Jul 27 03:14:27 2014 +0300
+++ b/src/actions.cc	Sun Jul 27 04:25:50 2014 +0300
@@ -40,7 +40,7 @@
 #include "editmodes/abstractEditMode.h"
 
 EXTERN_CFGENTRY (Bool, DrawWireframe);
-EXTERN_CFGENTRY (Bool, BfcRedGreenView);
+EXTERN_CFGENTRY (Bool, BFCRedGreenView);
 EXTERN_CFGENTRY (String, DefaultName);
 EXTERN_CFGENTRY (String, DefaultUser);
 EXTERN_CFGENTRY (Bool, UseCALicense);
@@ -679,9 +679,9 @@
 //
 void MainWindow::slot_actionBFCView()
 {
-	cfg::BfcRedGreenView = not cfg::BfcRedGreenView;
+	cfg::BFCRedGreenView = not cfg::BFCRedGreenView;
 
-	if (cfg::BfcRedGreenView)
+	if (cfg::BFCRedGreenView)
 		cfg::RandomColors = false;
 
 	updateActions();
@@ -885,7 +885,7 @@
 	cfg::RandomColors = not cfg::RandomColors;
 
 	if (cfg::RandomColors)
-		cfg::BfcRedGreenView = false;
+		cfg::BFCRedGreenView = false;
 
 	updateActions();
 	R()->refresh();

mercurial