]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Preparation of v.3.0.1 V3_0_1
authorsan <san@opencascade.com>
Fri, 29 Jul 2005 11:46:49 +0000 (11:46 +0000)
committersan <san@opencascade.com>
Fri, 29 Jul 2005 11:46:49 +0000 (11:46 +0000)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx

index 31dd045d14ded5d8351ec10c40baf5940f028c10..2c05e34575eae8e9253d2f07617dc58ea9db93d7 100644 (file)
@@ -91,7 +91,7 @@ void GEOMToolsGUI::OnSettingsColor()
   SUIT_ResourceMgr* resMgr = sess->resourceMgr();
   SUIT_Desktop* desk = sess->activeApplication()->desktop();
 
-  QColor anInitColor = resMgr->colorValue( "Geometry:SettingsShadingColor", QColor( "yellow" ) );
+  QColor anInitColor = resMgr->colorValue( "Geometry", "SettingsShadingColor", QColor( "yellow" ) );
   
   QColor aDialogColor = QColorDialog::getColor(anInitColor, desk );
   if( aDialogColor.isValid() ) 
@@ -100,7 +100,7 @@ void GEOMToolsGUI::OnSettingsColor()
     if( type != OCCViewer_Viewer::Type() && type != VTKViewer_Viewer::Type() )
       MESSAGE("Settings Color is not supported for current Viewer");
     
-    resMgr->setValue( "Geometry:SettingsShadingColor", aDialogColor );
+    resMgr->setValue( "Geometry", "SettingsShadingColor", aDialogColor );
   }
 }