Skip to content

Commit df3b91e

Browse files
committed
fix PluginsManager's InstallOrUpdate focus
1 parent d2bec9c commit df3b91e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ internal async Task InstallOrUpdate(UserPlugin plugin)
120120
.ChangeQuery(
121121
$"{Context.CurrentPluginMetadata.ActionKeywords.FirstOrDefault()} {Settings.HotkeyUpdate} {plugin.Name}");
122122

123-
Application.Current.MainWindow.Show();
123+
var mainWindow = Application.Current.MainWindow;
124+
mainWindow.Visibility = Visibility.Visible;
125+
mainWindow.Focus();
126+
124127
shouldHideWindow = false;
125128

126129
return;

Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Name": "Plugins Manager",
77
"Description": "Management of installing, uninstalling or updating Flow Launcher plugins",
88
"Author": "Jeremy Wu",
9-
"Version": "1.8.4",
9+
"Version": "1.8.5",
1010
"Language": "csharp",
1111
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
1212
"ExecuteFileName": "Flow.Launcher.Plugin.PluginsManager.dll",

0 commit comments

Comments
 (0)