mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
redisplay markers after removal - fixes #6596
This commit is contained in:
parent
fedec84d3b
commit
c3a7730c88
1 changed files with 7 additions and 0 deletions
|
|
@ -783,6 +783,13 @@ Editor::location_gone (Location *location)
|
||||||
LocationMarkers* m = i->second;
|
LocationMarkers* m = i->second;
|
||||||
location_markers.erase (i);
|
location_markers.erase (i);
|
||||||
delete m;
|
delete m;
|
||||||
|
|
||||||
|
/* Markers that visually overlap with this (removed) marker
|
||||||
|
* need to be re-displayed.
|
||||||
|
* But finding such cases is similarly expensive as simply
|
||||||
|
* re-displaying all.. so:
|
||||||
|
*/
|
||||||
|
refresh_location_display ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue