diff --git a/pass-winmenu/src/Configuration/Classes/Config.cs b/pass-winmenu/src/Configuration/Classes/Config.cs index d746c57..8eeb577 100644 --- a/pass-winmenu/src/Configuration/Classes/Config.cs +++ b/pass-winmenu/src/Configuration/Classes/Config.cs @@ -41,7 +41,9 @@ internal class Config }; [YamlIgnore] - public IEnumerable Hotkeys => UnfilteredHotkeys?.Where(h => h != null) ?? Enumerable.Empty(); + public IEnumerable Hotkeys => UnfilteredHotkeys + ?.Where(h => h != null && h.Hotkey != null && h.Options != null) + ?? Enumerable.Empty(); public NotificationConfig Notifications { get; set; } = new NotificationConfig();