mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Fix for using selected text in find/replace - thx Daniel :)
This commit is contained in:
parent
47d7552778
commit
23a63e1df7
@ -218,14 +218,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
textBoxFind.Visible = false;
|
||||
comboBoxFind.Visible = true;
|
||||
comboBoxFind.Text = selectedText;
|
||||
comboBoxFind.SelectAll();
|
||||
comboBoxFind.Items.Clear();
|
||||
for (var index = 0; index < Configuration.Settings.Tools.FindHistory.Count; index++)
|
||||
{
|
||||
var s = Configuration.Settings.Tools.FindHistory[index];
|
||||
comboBoxFind.Items.Add(s);
|
||||
}
|
||||
comboBoxFind.Text = selectedText;
|
||||
comboBoxFind.SelectAll();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -128,14 +128,14 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
textBoxFind.Visible = false;
|
||||
comboBoxFind.Visible = true;
|
||||
comboBoxFind.Text = selectedText;
|
||||
comboBoxFind.SelectAll();
|
||||
comboBoxFind.Items.Clear();
|
||||
for (var index = 0; index < Configuration.Settings.Tools.FindHistory.Count; index++)
|
||||
{
|
||||
var s = Configuration.Settings.Tools.FindHistory[index];
|
||||
comboBoxFind.Items.Add(s);
|
||||
}
|
||||
comboBoxFind.Text = selectedText;
|
||||
comboBoxFind.SelectAll();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user