diff --git a/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java b/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java index aabe47a25a..35923f2ee4 100644 --- a/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java +++ b/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java @@ -109,7 +109,7 @@ public PlayerRoster() { e -> launch() )); getLaunchButton().setEnabled(false); // not usuable without a game - getLaunchButton().setVisible(false); + // getLaunchButton().setVisible(false); retireButton = getLaunchButton(); // for compatibility setShowDisabledOptions(false); //AbstractToolbarItem @@ -452,7 +452,7 @@ public void setup(boolean gameStarting) { GameModule.setTempUserId(null); players.clear(); } - getLaunchButton().setVisible(gameStarting && getMySide() != null); + // getLaunchButton().setVisible(gameStarting && getMySide() != null); getLaunchButton().setEnabled(gameStarting); pickedSide = false; } @@ -482,7 +482,9 @@ public void finish() { a.execute(); GameModule.getGameModule().getServer().sendToOthers(a); } - getLaunchButton().setVisible(getMySide() != null); + // button is enabled / disabled at start and end of games. + // not clear what purpose is served by adjusting button visibility here + // getLaunchButton().setVisible(getMySide() != null); pickedSide = true; }