Also remove the SettingWindowViewModel constructor argument from SettingsPaneHotkeyViewModel

This commit is contained in:
Yusyuriv 2024-05-19 05:53:11 +06:00
parent ac3c053f88
commit baeb01f758
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -114,7 +114,7 @@ public partial class SettingsPaneHotkeyViewModel : BaseModel
return;
}
var window = new CustomShortcutSetting(item.Key, item.Value, null);
var window = new CustomShortcutSetting(item.Key, item.Value);
if (window.ShowDialog() is not true) return;
var index = Settings.CustomShortcuts.IndexOf(item);