This commit is contained in:
Nikolaj Olsson 2021-04-07 19:10:53 +02:00
commit 9d929c4e04

View File

@ -14433,7 +14433,7 @@ namespace Nikse.SubtitleEdit.Forms
}
var fc = FindFocusedControl(this);
if (fc != null && e.Modifiers != Keys.Control && e.Modifiers != Keys.Alt && e.Modifiers != (Keys.Control | Keys.Shift) && e.Modifiers != (Keys.Control | Keys.Alt) && e.Modifiers != (Keys.Control | Keys.Shift | Keys.Alt))
if (fc != null && (e.Modifiers == Keys.None || e.Modifiers == Keys.Shift))
{
// do not check for shortcuts if text is being entered and a textbox is focused
if ((fc.Parent.Name == textBoxListViewText.Name || fc.Parent.Name == textBoxListViewTextOriginal.Name || fc.Name == textBoxSearchWord.Name) &&