From e975f1ea54b45305441c07a5171a3f59dead4fc7 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sat, 15 Feb 2020 14:27:49 -0500 Subject: [PATCH] Added warning message when the config is missing. --- src/uorocketry/basestation/Main.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uorocketry/basestation/Main.java b/src/uorocketry/basestation/Main.java index a538703..5d71512 100644 --- a/src/uorocketry/basestation/Main.java +++ b/src/uorocketry/basestation/Main.java @@ -582,6 +582,9 @@ public void loadConfig(String fileName) { } catch (IOException e) { e.printStackTrace(); + JOptionPane.showMessageDialog(window, "The config file was not found in " + fileName + + "\r\n\r\nIf you plan downloaded a release build, you might want to download the version with labels and sample data included."); + return; }