From: enk Date: Mon, 16 Jan 2006 12:45:07 +0000 (+0000) Subject: Fix for Bug PAL11197: X-Git-Tag: T_Before_Join_BR-D5-38-2003~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e35ccab2676fa5ff007e7394150970739141a100;p=modules%2Fgui.git Fix for Bug PAL11197: SMESH and VISU: In scalar bar preferences, there is no control that X+width<=1 and Y+height<=1 --- diff --git a/src/LightApp/LightApp_PreferencesDlg.cxx b/src/LightApp/LightApp_PreferencesDlg.cxx index 5d0f1ead4..7b615d87c 100644 --- a/src/LightApp/LightApp_PreferencesDlg.cxx +++ b/src/LightApp/LightApp_PreferencesDlg.cxx @@ -99,6 +99,13 @@ void LightApp_PreferencesDlg::onHelp() void LightApp_PreferencesDlg::onApply() { myPrefs->store(); + + // Fix for Bug PAL11197: Restoring the corrected values from resource manager. + // (Correcting in VisuGUI.cxx and SMESHGUI.cxx in methods + // ::preferencesChanged( const QString& sect, const QString& name )) + myPrefs->retrieve(); + // + myPrefs->toBackup(); mySaved = true; }