1.1 --- a/Server/Actions/ActionHarmonyCommand.cs Tue Aug 30 21:14:18 2016 +0200
1.2 +++ b/Server/Actions/ActionHarmonyCommand.cs Wed Aug 31 16:06:47 2016 +0200
1.3 @@ -8,6 +8,7 @@
1.4 using System.Threading.Tasks;
1.5 using System.Runtime.Serialization;
1.6 using System.Windows.Forms;
1.7 +using CodeProject.Dialog;
1.8
1.9 namespace SharpDisplayManager
1.10 {
1.11 @@ -120,6 +121,12 @@
1.12 /// <param name="e"></param>
1.13 void ClickEventHandler(object sender, EventArgs e)
1.14 {
1.15 + if (Program.HarmonyConfig == null)
1.16 + {
1.17 + ErrBox.Show("No Harmony Hub configuration!");
1.18 + return;
1.19 + }
1.20 +
1.21 FormSelectHarmonyCommand dlg = new FormSelectHarmonyCommand();
1.22 DialogResult res = CodeProject.Dialog.DlgBox.ShowDialog(dlg);
1.23 if (res == DialogResult.OK)