fix: regex helper will keep showing even after changing from regex replace type

This commit is contained in:
ivandrofly 2014-05-16 23:58:31 +01:00
parent 0e9764b7f9
commit c8ef4d8b39

View File

@ -173,7 +173,7 @@ namespace Nikse.SubtitleEdit.Forms
if (sender == radioButtonRegEx) if (sender == radioButtonRegEx)
textBoxFind.ContextMenu = FindReplaceDialogHelper.GetRegExContextMenu(textBoxFind); textBoxFind.ContextMenu = FindReplaceDialogHelper.GetRegExContextMenu(textBoxFind);
else else
textBoxFind.ContextMenuStrip = null; textBoxFind.ContextMenu = null;
} }
private void TextBoxFindKeyDown(object sender, KeyEventArgs e) private void TextBoxFindKeyDown(object sender, KeyEventArgs e)