Error Fix

This commit is contained in:
Aaron Campf
2014-05-24 19:02:22 -07:00
parent 4c3f51cae3
commit 6aed2ec311

View File

@@ -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) {