mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 21:27:22 +01:00
Remove LocationMarker from the editor's lists before deleting it, as the deletion causes the contents of the editor's list to be deselected. May be related to #3929.
git-svn-id: svn://localhost/ardour2/branches/3.0@9479 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0ae6682bf8
commit
35eecc5916
1 changed files with 2 additions and 3 deletions
|
|
@ -514,8 +514,8 @@ Editor::refresh_location_display_internal (Locations::LocationList& locations)
|
|||
remove_sorted_marker (i->second->end);
|
||||
}
|
||||
|
||||
delete i->second;
|
||||
location_markers.erase (i);
|
||||
delete i->second;
|
||||
}
|
||||
|
||||
i = tmp;
|
||||
|
|
@ -717,9 +717,8 @@ Editor::location_gone (Location *location)
|
|||
remove_sorted_marker (i->second->end);
|
||||
}
|
||||
|
||||
|
||||
delete i->second;
|
||||
location_markers.erase (i);
|
||||
delete i->second;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue