diff -r e2729a990e8b -r c4749a27966d Server/FormSelectHarmonyCommand.cs
--- a/Server/FormSelectHarmonyCommand.cs Tue Aug 30 21:14:18 2016 +0200
+++ b/Server/FormSelectHarmonyCommand.cs Wed Aug 31 16:06:47 2016 +0200
@@ -8,6 +8,7 @@
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+using CodeProject.Dialog;
namespace SharpDisplayManager
{
@@ -28,7 +29,15 @@
///
private void FormSelectHarmonyCommand_Load(object sender, EventArgs e)
{
- PopulateTreeViewHarmony(Program.HarmonyConfig);
+ if (Program.HarmonyConfig != null)
+ {
+ PopulateTreeViewHarmony(Program.HarmonyConfig);
+ }
+ else
+ {
+ ErrBox.Show("No Harmony Hub configuration!");
+ Close();
+ }
}
///