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