Code

Fixed the filter effects dialog always displaying all the filter settings by overridi...
authornicholasbishop <nicholasbishop@users.sourceforge.net>
Wed, 12 Dec 2007 19:45:17 +0000 (19:45 +0000)
committernicholasbishop <nicholasbishop@users.sourceforge.net>
Wed, 12 Dec 2007 19:45:17 +0000 (19:45 +0000)
src/ui/dialog/filter-effects-dialog.cpp
src/ui/dialog/filter-effects-dialog.h

index e3e9304a8a25f41edb5a572cd94402349a245a00..e84635881947578b74f84bd9663163bb4a47c879 100644 (file)
@@ -1894,7 +1894,6 @@ FilterEffectsDialog::FilterEffectsDialog()
     show_all_children();
     init_settings_widgets();
     _primitive_list.update();
-    update_settings_view();
 }
 
 FilterEffectsDialog::~FilterEffectsDialog()
@@ -1907,6 +1906,13 @@ void FilterEffectsDialog::set_attrs_locked(const bool l)
     _locked = l;
 }
 
+void FilterEffectsDialog::show_all_vfunc()
+{
+    UI::Widget::Panel::show_all_vfunc();
+
+    update_settings_view();
+}
+
 void FilterEffectsDialog::init_settings_widgets()
 {
     // TODO: Find better range/climb-rate/digits values for the SpinSliders,
index 2cbd90f5f7a08a5838373eb53f97109dab7552f0..49343c0ce78504804b72c84e9e602299d843de9a 100644 (file)
@@ -48,6 +48,8 @@ public:
     { return *new FilterEffectsDialog(); }
 
     void set_attrs_locked(const bool);
+protected:
+    virtual void show_all_vfunc();
 private:
     class SignalObserver;