mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
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:
parent
aab5a30d6c
commit
3ebc31d79a
@ -543,14 +543,16 @@ namespace Nikse.SubtitleEdit.Controls
|
|||||||
}
|
}
|
||||||
else if (OnParagraphRightClicked != null)
|
else if (OnParagraphRightClicked != null)
|
||||||
{
|
{
|
||||||
NewSelectionParagraph = null;
|
|
||||||
Paragraph p = GetParagraphAtMilliseconds(milliseconds);
|
Paragraph p = GetParagraphAtMilliseconds(milliseconds);
|
||||||
RightClickedParagraph = p;
|
RightClickedParagraph = p;
|
||||||
RightClickedSeconds = seconds;
|
RightClickedSeconds = seconds;
|
||||||
if (p != null)
|
if (p != null)
|
||||||
|
{
|
||||||
|
NewSelectionParagraph = null;
|
||||||
OnParagraphRightClicked.Invoke(seconds, p);
|
OnParagraphRightClicked.Invoke(seconds, p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Cursor = Cursors.Default;
|
Cursor = Cursors.Default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user