From 3ebc31d79a5b7039e9677abb199bbaa0c133eb5f Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 12 Jan 2011 05:50:59 +0000 Subject: [PATCH] Right click in wave form will no longer remove existing selection git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@241 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Controls/WaveForm.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Controls/WaveForm.cs b/src/Controls/WaveForm.cs index 324c9fba1..3c3d32c2c 100644 --- a/src/Controls/WaveForm.cs +++ b/src/Controls/WaveForm.cs @@ -543,12 +543,14 @@ namespace Nikse.SubtitleEdit.Controls } else if (OnParagraphRightClicked != null) { - NewSelectionParagraph = null; Paragraph p = GetParagraphAtMilliseconds(milliseconds); RightClickedParagraph = p; RightClickedSeconds = seconds; if (p != null) + { + NewSelectionParagraph = null; OnParagraphRightClicked.Invoke(seconds, p); + } } } Cursor = Cursors.Default;