Revert "derive TriggerUI from sigc::trackable so that it can be automically disconnected from signals"
This reverts commit 06eb154db2
.
This commit is contained in:
parent
06eb154db2
commit
87bcd4d83b
|
@ -132,8 +132,8 @@ TriggerUI::trigger_swap (uint32_t n)
|
||||||
}
|
}
|
||||||
trigger_connections.drop_connections ();
|
trigger_connections.drop_connections ();
|
||||||
|
|
||||||
trigger()->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
trigger()->PropertyChanged.connect (trigger_connections, MISSING_INVALIDATOR, boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
||||||
tref.box->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
tref.box->PropertyChanged.connect (trigger_connections, MISSING_INVALIDATOR, boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());
|
||||||
|
|
||||||
trigger_changed (Properties::name);
|
trigger_changed (Properties::name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace Gtk
|
||||||
|
|
||||||
class TriggerJumpDialog;
|
class TriggerJumpDialog;
|
||||||
|
|
||||||
class TriggerUI : virtual public sigc::trackable
|
class TriggerUI
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TriggerUI ();
|
TriggerUI ();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user