Code

fix for bug #180117 (Filter Dialog soup)
authorjucablues <jucablues@users.sourceforge.net>
Thu, 7 Feb 2008 20:11:57 +0000 (20:11 +0000)
committerjucablues <jucablues@users.sourceforge.net>
Thu, 7 Feb 2008 20:11:57 +0000 (20:11 +0000)
src/ui/dialog/filter-effects-dialog.cpp

index 1c083531e5d3b5584c0509b45fda11cc0525b4bd..375eb383a997f4e141c2def2be5962e773381991 100644 (file)
@@ -2320,6 +2320,9 @@ void FilterEffectsDialog::set_attr(SPObject* o, const SPAttributeEnum attr, cons
 void FilterEffectsDialog::update_settings_view()
 {
     update_settings_sensitivity();
+    _settings_box.hide_all();
+    _settings_box.show();
+    _empty_settings.show();
 
     if(_attr_lock)
         return;
@@ -2330,11 +2333,6 @@ void FilterEffectsDialog::update_settings_view()
         _settings->show_and_update(FPConverter.get_id_from_key(prim->repr->name()), prim);
         _empty_settings.hide();
     }
-    else {
-        _settings_box.hide_all();
-        _settings_box.show();
-        _empty_settings.show();
-    }
 }
 
 void FilterEffectsDialog::update_settings_sensitivity()