summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-06-15 22:38:32 -0700
committerKeith Packard <keithp@keithp.com>2016-06-15 22:38:32 -0700
commitf28db1102685c87b9f4278268f7e91f5df18374a (patch)
tree3290ce2648a6e601609ce364d0287e391fde45cd /altosui/AltosUI.java
parent2a4d741872449b5332f28e018fa3acc53ed7d891 (diff)
altosui: Don't open command window when --graph is provided
When the user explicitly asks to open a graph, don't bring up the command button window too. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index 74e07463..f50c32e3 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -612,15 +612,13 @@ public class AltosUI extends AltosUIFrame {
File file = new File(args[i]);
switch (process) {
case process_none:
- case process_graph:
if (altosui == null)
altosui = new AltosUI();
+ case process_graph:
if (!process_graph(file))
++errors;
break;
case process_replay:
- if (altosui == null)
- altosui = new AltosUI();
if (!process_replay(file))
++errors;
break;