From: nds Date: Fri, 24 Oct 2014 10:36:16 +0000 (+0400) Subject: refs #98 - Default color for constraints X-Git-Tag: V_0.5~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=762cb0e8b996e46549138bdfc4f02d9539fab359;p=modules%2Fshaper.git refs #98 - Default color for constraints refs #129 - old LightApprc.7.4.0 problem The default values save mechanizm is implemented. --- diff --git a/src/XGUI/XGUI_Preferences.cpp b/src/XGUI/XGUI_Preferences.cpp index 8f7b3059a..d354a4c94 100644 --- a/src/XGUI/XGUI_Preferences.cpp +++ b/src/XGUI/XGUI_Preferences.cpp @@ -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();