From 903aec57c1c891ada519f8b4582889a84aec6ee8 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Tue, 8 Nov 2022 12:27:03 +0800 Subject: [PATCH] bugfix --- Flow.Launcher/ViewModel/MainViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 9b373d641..054347f4f 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -633,6 +633,8 @@ namespace Flow.Launcher.ViewModel var query = ConstructQuery(QueryText, Settings.CustomShortcuts, Settings.BuiltinShortcuts); + if (query == null) // shortcut expanded + return; _updateSource?.Dispose();