Skip to content

Commit 247272c

Browse files
committed
Do not query when expanding builtin shortcuts
1 parent f935d5f commit 247272c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,9 @@ private async Task BuildQueryAsync(IEnumerable<BaseBuiltinShortcutModel> builtIn
14371437
{
14381438
// Use private field to avoid infinite recursion
14391439
_queryText = queryBuilderTmp.ToString();
1440+
// When executing OnPropertyChanged, QueryTextBox_TextChanged1 and Query will be called
1441+
// So we need to ignore it so that we will not call Query again
1442+
_ignoredQueryText = _queryText;
14401443
OnPropertyChanged(nameof(QueryText));
14411444
}
14421445
}

0 commit comments

Comments
 (0)