mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #3374 from onesounds/050323_FixLastCaret
Fix cursor doesn't move to the end on initial launch
This commit is contained in:
commit
6fbde2f95d
1 changed files with 3 additions and 1 deletions
|
|
@ -143,7 +143,9 @@ namespace Flow.Launcher
|
|||
|
||||
// Since the default main window visibility is visible, so we need set focus during startup
|
||||
QueryTextBox.Focus();
|
||||
|
||||
// Set the initial state of the QueryTextBoxCursorMovedToEnd property
|
||||
// Without this part, when shown for the first time, switching the context menu does not move the cursor to the end.
|
||||
_viewModel.QueryTextCursorMovedToEnd = false;
|
||||
_viewModel.PropertyChanged += (o, e) =>
|
||||
{
|
||||
switch (e.PropertyName)
|
||||
|
|
|
|||
Loading…
Reference in a new issue