]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
refs #98 - Default color for constraints
authornds <natalia.donis@opencascade.com>
Fri, 24 Oct 2014 10:36:16 +0000 (14:36 +0400)
committernds <natalia.donis@opencascade.com>
Fri, 24 Oct 2014 10:36:16 +0000 (14:36 +0400)
refs #129 - old LightApprc.7.4.0 problem
The default values save mechanizm is implemented.

src/XGUI/XGUI_Preferences.cpp

index 8f7b3059a79fadf2d4ca40cf26d94373ed49a1a1..d354a4c94662d1b12e0f539c3d7ed54f7d7bdbd7 100644 (file)
@@ -270,10 +270,10 @@ void XGUI_PreferencesDlg::modified(XGUI_Prefs& theModified) const
 void XGUI_PreferencesDlg::onDefault()
 {
   // reset main resources
-  QtxResourceMgr::WorkingMode aPrev = myPreferences->resourceMgr()->setWorkingMode
-                                               (QtxResourceMgr::IgnoreUserValues);
-  myPreferences->retrieve();
-  myPreferences->resourceMgr()->setWorkingMode(aPrev);
+  //QtxResourceMgr::WorkingMode aPrev = myPreferences->resourceMgr()->setWorkingMode
+  //                                             (QtxResourceMgr::IgnoreUserValues);
+  //myPreferences->retrieve();
+  //myPreferences->resourceMgr()->setWorkingMode(aPrev);
 
   // reset plugin's resources
   XGUI_Preferences::resetConfig();