mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #942 from Flow-Launcher/fixCursorMultiThreadIssue
fix move cursor to the end when it is not called from main thread
This commit is contained in:
commit
6cabc1609d
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ namespace Flow.Launcher
|
||||||
|
|
||||||
private void MoveQueryTextToEnd()
|
private void MoveQueryTextToEnd()
|
||||||
{
|
{
|
||||||
QueryTextBox.CaretIndex = QueryTextBox.Text.Length;
|
Dispatcher.Invoke(() => QueryTextBox.CaretIndex = QueryTextBox.Text.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void InitializeColorScheme()
|
public void InitializeColorScheme()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue