mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Skip this plugin if all hotkeys are invisible
This commit is contained in:
parent
3fe1e5023a
commit
96b5eb3df9
1 changed files with 5 additions and 0 deletions
|
|
@ -46,6 +46,11 @@ public partial class SettingsPaneHotkey
|
|||
var pluginPair = info.Key;
|
||||
var hotkeyInfo = info.Value;
|
||||
var metadata = pluginPair.Metadata;
|
||||
|
||||
// Skip this plugin if all hotkeys are invisible
|
||||
var allHotkeyInvisible = hotkeyInfo.All(h => !h.Visible);
|
||||
if (allHotkeyInvisible) continue;
|
||||
|
||||
var excard = new ExCard()
|
||||
{
|
||||
Title = metadata.Name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue