Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Flow.Launcher/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ private async void OnLoaded(object sender, RoutedEventArgs _)

// 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)
Expand Down
Loading