always add "None" value

This commit is contained in:
seraphima
2023-11-28 12:47:47 +01:00
parent efdb4025dc
commit cda1511ba3

View File

@@ -221,7 +221,7 @@ namespace FancyZonesEditor.Models
List<string> result = new List<string>();
foreach (var pair in MainWindowSettingsModel.LayoutHotkeys.SelectedKeys)
{
if (string.IsNullOrEmpty(pair.Value) || pair.Value == Uuid)
if (pair.Key == Properties.Resources.Quick_Key_None || string.IsNullOrEmpty(pair.Value) || pair.Value == Uuid)
{
result.Add(pair.Key);
}