Clear selection in MidiRegionView::clear_events (can't select what isn't there....).
git-svn-id: svn://localhost/ardour2/branches/3.0@3141 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bdbe392325
commit
704e5b809b
@ -381,6 +381,8 @@ MidiRegionView::create_note_at(double x, double y, double dur)
|
||||
void
|
||||
MidiRegionView::clear_events()
|
||||
{
|
||||
clear_selection();
|
||||
|
||||
MidiGhostRegion* gr;
|
||||
for (vector<GhostRegion*>::iterator g = ghosts.begin(); g != ghosts.end(); ++g) {
|
||||
if ((gr = dynamic_cast<MidiGhostRegion*>(*g)) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user