Fix hotkey control construction issue

This commit is contained in:
Jack251970 2025-06-25 22:20:28 +08:00
parent f7fa647da3
commit f2358a56e8

View file

@ -68,9 +68,9 @@ public partial class SettingsPaneHotkey
// TODO: Check if this can use
var hotkeyControl = new HotkeyControl
{
Type = HotkeyControl.HotkeyType.CustomQueryHotkey,
DefaultHotkey = hotkey.DefaultHotkey,
Hotkey = hotkeySetting,
Type = HotkeyControl.HotkeyType.CustomQueryHotkey,
ValidateKeyGesture = true
};
card.Content = hotkeyControl;