mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix null reference when hotkey is invalid
This commit is contained in:
parent
fbd12eb96b
commit
f941655d64
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ namespace Flow.Launcher
|
|||
|
||||
private void tbHotkey_LostFocus(object sender, RoutedEventArgs e)
|
||||
{
|
||||
tbHotkey.Text = CurrentHotkey.ToString();
|
||||
tbHotkey.Text = CurrentHotkey?.ToString() ?? "";
|
||||
tbHotkey.Select(tbHotkey.Text.Length, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue