mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Do not close window when killed processes
This commit is contained in:
parent
b7694d3130
commit
d12cde7c44
1 changed files with 4 additions and 6 deletions
|
|
@ -91,9 +91,8 @@ namespace Flow.Launcher.Plugin.ProcessKiller
|
|||
Action = (c) =>
|
||||
{
|
||||
processHelper.TryKill(p);
|
||||
// Re-query to refresh process list
|
||||
_context.API.ChangeQuery(query.RawQuery, true);
|
||||
return true;
|
||||
_context.API.ReQuery();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -120,9 +119,8 @@ namespace Flow.Launcher.Plugin.ProcessKiller
|
|||
{
|
||||
processHelper.TryKill(p.Process);
|
||||
}
|
||||
// Re-query to refresh process list
|
||||
_context.API.ChangeQuery(query.RawQuery, true);
|
||||
return true;
|
||||
_context.API.ReQuery();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue