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
This commit is contained in:
niksedk 2011-01-12 05:50:59 +00:00
parent aab5a30d6c
commit 3ebc31d79a

View File

@ -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;