From fff59982f47803724c40ec2dcd0ddd89c168079a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 13 May 2014 12:44:28 -0700 Subject: [PATCH] Clear the clicked marker on right click --- src/audio_timing_dialogue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio_timing_dialogue.cpp b/src/audio_timing_dialogue.cpp index 9c20362fb..d9bc341a6 100644 --- a/src/audio_timing_dialogue.cpp +++ b/src/audio_timing_dialogue.cpp @@ -671,6 +671,7 @@ std::vector AudioTimingControllerDialogue::OnLeftClick(int ms, boo std::vector AudioTimingControllerDialogue::OnRightClick(int ms, bool, int sensitivity, int snap_range) { + clicked_marker = nullptr; std::vector ret = GetRightMarkers(); SetMarkers(ret, SnapPosition(ms, snap_range, ret)); return ret;