Do not query when expanding builtin shortcuts

This commit is contained in:
Jack251970 2025-05-02 15:21:17 +08:00
parent f935d5f078
commit 247272c9aa

View file

@ -1437,6 +1437,9 @@ namespace Flow.Launcher.ViewModel
{
// Use private field to avoid infinite recursion
_queryText = queryBuilderTmp.ToString();
// When executing OnPropertyChanged, QueryTextBox_TextChanged1 and Query will be called
// So we need to ignore it so that we will not call Query again
_ignoredQueryText = _queryText;
OnPropertyChanged(nameof(QueryText));
}
}