aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui/GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/gui/GUI.java')
-rw-r--r--src/jcgp/gui/GUI.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jcgp/gui/GUI.java b/src/jcgp/gui/GUI.java
index 8f28884..eaca077 100644
--- a/src/jcgp/gui/GUI.java
+++ b/src/jcgp/gui/GUI.java
@@ -174,14 +174,15 @@ public class GUI extends Application {
jcgp.reset();
populationPane.remakeTabs(jcgp.getPopulation(), jcgp.getResources());
settingsPane.revalidateParameters();
+ settingsPane.updateControls(false, jcgp.isFinished());
console.flush();
}
}
private void runningMode(boolean value) {
populationPane.setDisable(value);
- settingsPane.runningMode(value);
-
+ settingsPane.updateControls(value, jcgp.isFinished());
+
if (value) {
populationPane.unlockOutputs();
if (settingsPane.isResetRequired()) {