Focus back to textbox after press enter

This commit is contained in:
Jaex 2021-07-25 07:34:02 +03:00
parent 6b5a055084
commit c2a6fe6dc9

View file

@ -85,7 +85,7 @@ public HistoryForm(string historyPath, HistorySettings settings, Action<string>
private void RefreshHistoryItems()
{
allHistoryItems = GetHistoryItems();
ApplyFilterAdvanced();
ApplyFilterSimple();
}
private HistoryItem[] him_GetHistoryItems()
@ -362,6 +362,7 @@ private void tstbSearch_KeyDown(object sender, KeyEventArgs e)
e.Handled = true;
e.SuppressKeyPress = true;
ApplyFilterSimple();
tstbSearch.Focus();
}
}