redisplay markers after removal - fixes #6596

This commit is contained in:
Robin Gareus 2015-09-24 00:27:32 +02:00
parent fedec84d3b
commit c3a7730c88
1 changed files with 7 additions and 0 deletions

View File

@ -783,6 +783,13 @@ Editor::location_gone (Location *location)
LocationMarkers* m = i->second;
location_markers.erase (i);
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;
}
}