From e35ccab2676fa5ff007e7394150970739141a100 Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 16 Jan 2006 12:45:07 +0000 Subject: [PATCH] Fix for Bug PAL11197: SMESH and VISU: In scalar bar preferences, there is no control that X+width<=1 and Y+height<=1 --- src/LightApp/LightApp_PreferencesDlg.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.39.2