From fc7ed310048068d53c92c70693eb8d4b7083bc43 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Fri, 4 Nov 2022 01:44:23 +0800 Subject: [PATCH] Use reference when editing --- .../UserSettings/CustomShortcutModel.cs | 2 +- Flow.Launcher/CustomShortcutSetting.xaml | 1 + Flow.Launcher/SettingWindow.xaml | 1 + Flow.Launcher/SettingWindow.xaml.cs | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs index d0cca33a5..71020369a 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomShortcutModel.cs @@ -59,7 +59,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings { Key = key; Description = description; - Expand = expand ?? (() => { return Key; }); + Expand = expand ?? (() => { return ""; }); } } } diff --git a/Flow.Launcher/CustomShortcutSetting.xaml b/Flow.Launcher/CustomShortcutSetting.xaml index 10bd6223c..78b392f3e 100644 --- a/Flow.Launcher/CustomShortcutSetting.xaml +++ b/Flow.Launcher/CustomShortcutSetting.xaml @@ -117,6 +117,7 @@ LastChildFill="True">