only show error dialog when visualized

This commit is contained in:
Fredrik Osterlind 2011-02-11 15:46:50 +01:00
parent 1c86e7d6f3
commit 5888786183

View file

@ -420,9 +420,9 @@ public class GUI extends Observable {
"To manage COOJA projects:\n" +
"Menu->Settings->COOJA projects",
"Reconfigure COOJA projects", JOptionPane.INFORMATION_MESSAGE);
}
showErrorDialog(getTopParentContainer(), "COOJA projects load error", e, false);
}
}
// Start all standard GUI plugins
for (Class<? extends Plugin> pluginClass : pluginClasses) {