mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 11:42:36 +01:00
Allow space for video play/pause toggle shortcut - thx Mike :)
This commit is contained in:
parent
8840db84c9
commit
17080e716c
@ -13950,6 +13950,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
if (mediaPlayer.VideoPlayer != null)
|
||||
{
|
||||
if (_shortcuts.VideoPlayPauseToggle == Keys.Space &&
|
||||
(textBoxListViewText.Focused || textBoxListViewTextAlternate.Focused || textBoxSearchWord.Focused))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_endSeconds = -1;
|
||||
e.SuppressKeyPress = true;
|
||||
e.Handled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user