Code

connected a signal to update the filter primitives list treeview when the filters...
authorjucablues <jucablues@users.sourceforge.net>
Wed, 12 Dec 2007 01:04:53 +0000 (01:04 +0000)
committerjucablues <jucablues@users.sourceforge.net>
Wed, 12 Dec 2007 01:04:53 +0000 (01:04 +0000)
src/ui/dialog/filter-effects-dialog.cpp

index d1be155be345133933072d68775eb41e152c0ff5..e3e9304a8a25f41edb5a572cd94402349a245a00 100644 (file)
@@ -1207,6 +1207,8 @@ FilterEffectsDialog::PrimitiveList::PrimitiveList(FilterEffectsDialog& d)
       _in_drag(0),
       _observer(new SignalObserver)
 {
+    d.signal_expose_event().connect(sigc::mem_fun(*this, &PrimitiveList::on_expose_signal));
+    
     add_events(Gdk::POINTER_MOTION_MASK | Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK);
     signal_expose_event().connect(sigc::mem_fun(*this, &PrimitiveList::on_expose_signal));