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();