From f28db1102685c87b9f4278268f7e91f5df18374a Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 15 Jun 2016 22:38:32 -0700 Subject: [PATCH 1/1] 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 --- altosui/AltosUI.java | 4 +--- 1 file changed, 1 insertion(+), 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; -- 2.30.2