mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Merge pull request #4421 from OmrSi/alt-alternative
Don't lose focus when pressing alt alone in original textbox
This commit is contained in:
commit
5ab89503d9
@ -13612,7 +13612,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.Modifiers == Keys.Alt && e.KeyCode == (Keys.RButton | Keys.ShiftKey) && textBoxListViewText.Focused)
|
||||
if (e.Modifiers == Keys.Alt && e.KeyCode == (Keys.RButton | Keys.ShiftKey) && (textBoxListViewText.Focused || textBoxListViewTextAlternate.Focused))
|
||||
{ // annoying that focus leaves textbox while typing, when pressing Alt alone
|
||||
e.SuppressKeyPress = true;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user