mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Error Fix
This commit is contained in:
@@ -15,10 +15,13 @@ namespace Wox.Plugin.SystemPlugins {
|
|||||||
|
|
||||||
|
|
||||||
public List<Result> Query(Query query) {
|
public List<Result> Query(Query query) {
|
||||||
if (Enabled) {
|
if (Enabled && string.IsNullOrEmpty(query.RawQuery)) {
|
||||||
if (string.IsNullOrEmpty(query.RawQuery)) return new List<Result>();
|
//if (string.IsNullOrEmpty(query.RawQuery)) return new List<Result>();
|
||||||
return QueryInternal(query);
|
return QueryInternal(query);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
new List<Result>();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Init(PluginInitContext context) {
|
public void Init(PluginInitContext context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user