mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use API mainwindow show
This commit is contained in:
parent
5f9036568d
commit
6565b55746
1 changed files with 1 additions and 3 deletions
|
|
@ -340,9 +340,7 @@ namespace Flow.Launcher.Plugin.Shell
|
|||
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
|
||||
|
||||
// show the main window and set focus to the query box
|
||||
Window mainWindow = Application.Current.MainWindow;
|
||||
mainWindow.Show();
|
||||
mainWindow.Focus();
|
||||
context.API.ShowMainWindow();
|
||||
}
|
||||
|
||||
public Control CreateSettingPanel()
|
||||
|
|
|
|||
Loading…
Reference in a new issue