diff --git a/src/main/java/org/nwapw/abacus/fx/AbacusController.java b/src/main/java/org/nwapw/abacus/fx/AbacusController.java index bbf5bc6..aae51df 100644 --- a/src/main/java/org/nwapw/abacus/fx/AbacusController.java +++ b/src/main/java/org/nwapw/abacus/fx/AbacusController.java @@ -188,6 +188,14 @@ public class AbacusController implements PluginListener { inputField.setText(""); } + @FXML + private void performSaveAndReload(){ + performSave(); + performReload(); + changesMade = false; + reloadAlertShown = false; + } + @FXML private void performReload(){ alertIfApplyNeeded(true); diff --git a/src/main/resources/abacus.fxml b/src/main/resources/abacus.fxml index 9cc8e70..b3125e8 100644 --- a/src/main/resources/abacus.fxml +++ b/src/main/resources/abacus.fxml @@ -7,6 +7,7 @@ + @@ -49,10 +50,11 @@ - +