Make sure entered_marker is resetted if it's removed

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2734 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen 2007-12-01 20:13:59 +00:00
parent 64c099b7fd
commit 10140d119d

View file

@ -424,6 +424,10 @@ Editor::remove_marker (ArdourCanvas::Item& item, GdkEvent* event)
/*NOTREACHED*/
}
if (entered_marker == marker) {
entered_marker = NULL;
}
Location* loc = find_location_from_marker (marker, is_start);
if (session && loc) {