mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix possible null exception
This commit is contained in:
parent
284fe2b922
commit
83e5654a5c
1 changed files with 2 additions and 1 deletions
|
|
@ -9,13 +9,14 @@ namespace Flow.Launcher
|
||||||
{
|
{
|
||||||
public partial class CustomShortcutSetting : Window
|
public partial class CustomShortcutSetting : Window
|
||||||
{
|
{
|
||||||
|
private static readonly Settings _settings = Ioc.Default.GetRequiredService<Settings>();
|
||||||
|
|
||||||
private readonly SettingsPaneHotkeyViewModel _hotkeyVm;
|
private readonly SettingsPaneHotkeyViewModel _hotkeyVm;
|
||||||
public string Key { get; set; } = String.Empty;
|
public string Key { get; set; } = String.Empty;
|
||||||
public string Value { get; set; } = String.Empty;
|
public string Value { get; set; } = String.Empty;
|
||||||
private string originalKey { get; } = null;
|
private string originalKey { get; } = null;
|
||||||
private string originalValue { get; } = null;
|
private string originalValue { get; } = null;
|
||||||
private bool update { get; } = false;
|
private bool update { get; } = false;
|
||||||
private readonly Settings _settings;
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
public string SettingWindowFont
|
public string SettingWindowFont
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue