diff --git a/Plugins/Wox.Plugin.Program/Main.cs b/Plugins/Wox.Plugin.Program/Main.cs
index 575d147696..a6a891265a 100644
--- a/Plugins/Wox.Plugin.Program/Main.cs
+++ b/Plugins/Wox.Plugin.Program/Main.cs
@@ -148,10 +148,7 @@ namespace Wox.Plugin.Program
public void ReloadData()
{
- Task.Run(() =>
- {
- IndexPrograms();
- });
+ IndexPrograms();
}
}
}
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Sys/Languages/en.xaml b/Plugins/Wox.Plugin.Sys/Languages/en.xaml
index 9aa958689d..a2a238bf61 100644
--- a/Plugins/Wox.Plugin.Sys/Languages/en.xaml
+++ b/Plugins/Wox.Plugin.Sys/Languages/en.xaml
@@ -25,6 +25,10 @@
Are you sure you want to shut the computer down?
Are you sure you want to restart the computer?
+
+ Success
+ Reloaded all applicable plugin data
+
System Commands
Provides System related commands. e.g. shutdown, lock, settings etc.
diff --git a/Plugins/Wox.Plugin.Sys/Main.cs b/Plugins/Wox.Plugin.Sys/Main.cs
index 7effe4ef83..7232e84090 100644
--- a/Plugins/Wox.Plugin.Sys/Main.cs
+++ b/Plugins/Wox.Plugin.Sys/Main.cs
@@ -218,7 +218,11 @@ namespace Wox.Plugin.Sys
IcoPath = "Images\\app.png",
Action = c =>
{
+ // Hide the window first then show msg after done because sometimes the reload could take a while, so not to make user think it's frozen.
+ Application.Current.MainWindow.Hide();
context.API.ReloadAllPluginData();
+ context.API.ShowMsg(context.API.GetTranslation("wox_plugin_sys_dlgtitle_success"),
+ context.API.GetTranslation("wox_plugin_sys_dlgtext_all_applicableplugins_reloaded"));
return true;
}
}