Skip to content

Commit cf66077

Browse files
committed
Check plugin modified state & disabled state for quickSwitchExplorers
1 parent ed019d3 commit cf66077

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Flow.Launcher.Infrastructure/QuickSwitch/QuickSwitch.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ private static bool RefreshLastExplorer()
273273
{
274274
foreach (var explorer in _quickSwitchExplorers.Keys)
275275
{
276-
if (explorer.Metadata.Disabled) continue;
276+
if (API.PluginModified(explorer.Metadata.ID) || // Plugin is modified
277+
explorer.Metadata.Disabled) continue; // Plugin is disabled
277278

278279
var explorerWindow = explorer.Plugin.CheckExplorerWindow(hWnd);
279280
if (explorerWindow != null)
@@ -532,7 +533,8 @@ uint dwmsEventTime
532533
{
533534
foreach (var explorer in _quickSwitchExplorers.Keys)
534535
{
535-
if (explorer.Metadata.Disabled) continue;
536+
if (API.PluginModified(explorer.Metadata.ID) || // Plugin is modified
537+
explorer.Metadata.Disabled) continue; // Plugin is disabled
536538

537539
var explorerWindow = explorer.Plugin.CheckExplorerWindow(hwnd);
538540
if (explorerWindow != null)

0 commit comments

Comments
 (0)