mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix System.NullReferenceException for #356
This commit is contained in:
parent
8a78e4e9f4
commit
cb1da686ec
1 changed files with 5 additions and 2 deletions
|
|
@ -480,8 +480,11 @@ namespace Wox
|
|||
private void Query(string text)
|
||||
{
|
||||
var query = PluginManager.QueryInit(text);
|
||||
lastQuery = query?.RawQuery;
|
||||
PluginManager.QueryForAllPlugins(query);
|
||||
if (query != null)
|
||||
{
|
||||
lastQuery = query.RawQuery;
|
||||
PluginManager.QueryForAllPlugins(query);
|
||||
}
|
||||
StopProgress();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue