Clear the clicked marker on right click

This commit is contained in:
Thomas Goyne 2014-05-13 12:44:28 -07:00
parent b7b2ea2d61
commit fff59982f4
1 changed files with 1 additions and 0 deletions

View File

@ -671,6 +671,7 @@ std::vector<AudioMarker*> AudioTimingControllerDialogue::OnLeftClick(int ms, boo
std::vector<AudioMarker*> AudioTimingControllerDialogue::OnRightClick(int ms, bool, int sensitivity, int snap_range)
{
clicked_marker = nullptr;
std::vector<AudioMarker*> ret = GetRightMarkers();
SetMarkers(ret, SnapPosition(ms, snap_range, ret));
return ret;