mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Focus back to textbox after press enter
This commit is contained in:
parent
6b5a055084
commit
c2a6fe6dc9
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue