zz_configDialog.cpp

changeset 160
edcb03f3ef75
parent 158
499286fcbf37
child 161
c9fba92c4e35
--- a/zz_configDialog.cpp	Sat May 04 13:52:47 2013 +0300
+++ b/zz_configDialog.cpp	Sat May 04 18:31:03 2013 +0300
@@ -613,7 +613,7 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 void ConfigDialog::staticDialog () {
-	ConfigDialog dlg (g_ForgeWindow);
+	ConfigDialog dlg (g_win);
 	
 	if (dlg.exec ()) {
 		io_ldpath = dlg.le_LDrawPath->text();
@@ -629,7 +629,7 @@
 		gui_toolbar_iconsize = (dlg.sl_iconSize->value () * 4) + 12;
 		
 		// Manage the quick color toolbar
-		g_ForgeWindow->quickColorMeta = dlg.quickColorMeta;
+		g_win->setQuickColorMeta (dlg.quickColorMeta);
 		gui_colortoolbar = dlg.makeColorToolBarString ();
 		
 		// Set the grid settings
@@ -643,9 +643,9 @@
 		// Reload all subfiles
 		reloadAllSubfiles ();
 		
-		g_ForgeWindow->R->setBackground ();
-		g_ForgeWindow->refresh ();
-		g_ForgeWindow->updateToolBars ();
+		g_win->R ()->setBackground ();
+		g_win->refresh ();
+		g_win->updateToolBars ();
 	}
 }
 

mercurial