13
0

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:
Carl Hetherington 2011-05-05 12:08:12 +00:00
parent 0ae6682bf8
commit 35eecc5916

View File

@ -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;
}
}