From aa76d471e0a1065f932824696228cc8cf2578d44 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 27 Oct 2014 10:09:18 +0300 Subject: [PATCH] refs #98 - Default color for constraints refs #129 - old LightApprc.7.4.0 problem The default values save mechanizm is implemented. SUIT is modified and the compillation error should not appear. --- src/XGUI/XGUI_Preferences.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/XGUI/XGUI_Preferences.cpp b/src/XGUI/XGUI_Preferences.cpp index d354a4c94..8f7b3059a 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(); -- 2.39.2