From 6aed2ec3116dc5e269e9f62988d27b4a00f05c49 Mon Sep 17 00:00:00 2001 From: Aaron Campf Date: Sat, 24 May 2014 19:02:22 -0700 Subject: [PATCH] Error Fix --- Wox.Plugin.SystemPlugins/BaseSystemPlugin.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Wox.Plugin.SystemPlugins/BaseSystemPlugin.cs b/Wox.Plugin.SystemPlugins/BaseSystemPlugin.cs index 4afa333210..6213fede34 100644 --- a/Wox.Plugin.SystemPlugins/BaseSystemPlugin.cs +++ b/Wox.Plugin.SystemPlugins/BaseSystemPlugin.cs @@ -15,10 +15,13 @@ namespace Wox.Plugin.SystemPlugins { public List Query(Query query) { - if (Enabled) { - if (string.IsNullOrEmpty(query.RawQuery)) return new List(); + if (Enabled && string.IsNullOrEmpty(query.RawQuery)) { + //if (string.IsNullOrEmpty(query.RawQuery)) return new List(); return QueryInternal(query); } + else { + new List(); + } } public void Init(PluginInitContext context) {