summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ghostregion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc
index ebf6a2870a..21b8cd6fba 100644
--- a/gtk2_ardour/ghostregion.cc
+++ b/gtk2_ardour/ghostregion.cc
@@ -186,6 +186,7 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv,
base_rect->lower_to_bottom();
update_range ();
+ midi_view()->NoteRangeChanged.connect (sigc::mem_fun (*this, &MidiGhostRegion::update_range));
}
/**
@@ -209,6 +210,7 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv,
base_rect->lower_to_bottom();
update_range ();
+ midi_view()->NoteRangeChanged.connect (sigc::mem_fun (*this, &MidiGhostRegion::update_range));
}
MidiGhostRegion::~MidiGhostRegion()