diff --git a/src/ui/Controls/SETextBox.cs b/src/ui/Controls/SETextBox.cs index d09860d33..60cbc676f 100644 --- a/src/ui/Controls/SETextBox.cs +++ b/src/ui/Controls/SETextBox.cs @@ -777,7 +777,7 @@ namespace Nikse.SubtitleEdit.Controls { _textBox.Focus(); } - else if (_textBox != null) + else if (_uiTextBox != null) { _uiTextBox.Focus(); }