diff --git a/src/main/java/network/brightspots/rcv/GuiConfigController.java b/src/main/java/network/brightspots/rcv/GuiConfigController.java index a1a60e8a5..e283bbcae 100644 --- a/src/main/java/network/brightspots/rcv/GuiConfigController.java +++ b/src/main/java/network/brightspots/rcv/GuiConfigController.java @@ -551,6 +551,9 @@ private void openTabulateWindow() { GuiTabulateController controller = loader.getController(); controller.initialize(this, config.candidates.size(), config.cvrFileSources.size()); window.setScene(new Scene(root)); + window.setAlwaysOnTop(true); + window.setX(GuiContext.getInstance().getMainWindow().getX() + 50); + window.setY(GuiContext.getInstance().getMainWindow().getY() + 50); window.showAndWait(); } catch (IOException exception) { StringWriter sw = new StringWriter(); diff --git a/src/main/java/network/brightspots/rcv/GuiTabulateController.java b/src/main/java/network/brightspots/rcv/GuiTabulateController.java index eaad97551..da403650b 100644 --- a/src/main/java/network/brightspots/rcv/GuiTabulateController.java +++ b/src/main/java/network/brightspots/rcv/GuiTabulateController.java @@ -182,6 +182,7 @@ private void watchServiceProgress(Service service) { progressBar.setProgress(1); tabulateButton.setText(buttonOpenResultsText); } else { + progressBar.setProgress(0); tabulateButton.setText(buttonViewErrorLogsText); } });