summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-12-12 19:45:17 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-12-12 19:45:17 +0000
commit9863af8df1c1411043a8f246ee922cbca798b2b0 (patch)
treeed145efabb17896ec6f950b8922e084b2fcc5785 /src
parentToggle snapping for each grid individually (diff)
downloadinkscape-9863af8df1c1411043a8f246ee922cbca798b2b0.tar.gz
inkscape-9863af8df1c1411043a8f246ee922cbca798b2b0.zip
Fixed the filter effects dialog always displaying all the filter settings by overriding the behavior of show_all.
(bzr r4220)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp8
-rw-r--r--src/ui/dialog/filter-effects-dialog.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index e3e9304a8..e84635881 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -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,
diff --git a/src/ui/dialog/filter-effects-dialog.h b/src/ui/dialog/filter-effects-dialog.h
index 2cbd90f5f..49343c0ce 100644
--- a/src/ui/dialog/filter-effects-dialog.h
+++ b/src/ui/dialog/filter-effects-dialog.h
@@ -48,6 +48,8 @@ public:
{ return *new FilterEffectsDialog(); }
void set_attrs_locked(const bool);
+protected:
+ virtual void show_all_vfunc();
private:
class SignalObserver;