diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-05 13:49:35 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-05 13:49:35 +0000 |
commit | bcaf808f7dd1c81701097ca22cee0bc38c10df59 (patch) | |
tree | caf32775dfb3b3e003a2c676ba80e129a7cd73d9 /gtk2_ardour/ghostregion.h | |
parent | e0926ce2c662b59d75e13a51a13b9483bee3a683 (diff) |
Make GhostRegion a sigc::trackable as MidiGhostRegion connects to signals. Fixes e.g. a crash on track resize after splitting a MIDI region with automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9482 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r-- | gtk2_ardour/ghostregion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h index 2ebd33e64e..103d7ecf97 100644 --- a/gtk2_ardour/ghostregion.h +++ b/gtk2_ardour/ghostregion.h @@ -37,7 +37,7 @@ namespace Gnome { class MidiStreamView; class TimeAxisView; -class GhostRegion +class GhostRegion : public sigc::trackable { public: GhostRegion(ArdourCanvas::Group* parent, TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos); |