mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 09:17:36 +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()
|
private void RefreshHistoryItems()
|
||||||
{
|
{
|
||||||
allHistoryItems = GetHistoryItems();
|
allHistoryItems = GetHistoryItems();
|
||||||
ApplyFilterAdvanced();
|
ApplyFilterSimple();
|
||||||
}
|
}
|
||||||
|
|
||||||
private HistoryItem[] him_GetHistoryItems()
|
private HistoryItem[] him_GetHistoryItems()
|
||||||
|
@ -362,6 +362,7 @@ private void tstbSearch_KeyDown(object sender, KeyEventArgs e)
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
e.SuppressKeyPress = true;
|
e.SuppressKeyPress = true;
|
||||||
ApplyFilterSimple();
|
ApplyFilterSimple();
|
||||||
|
tstbSearch.Focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue