mirror of
https://github.com/DanilaFe/abacus
synced 2024-11-19 00:49:32 -08:00
Fix clearing input field.
This commit is contained in:
parent
a7ed7b48cf
commit
a5a1f3a96a
|
@ -139,6 +139,7 @@ public class AbacusController implements PluginListener {
|
||||||
String calculation = attemptCalculation();
|
String calculation = attemptCalculation();
|
||||||
Platform.runLater(() -> {
|
Platform.runLater(() -> {
|
||||||
outputText.setText(calculation);
|
outputText.setText(calculation);
|
||||||
|
inputField.setText("");
|
||||||
inputButton.setDisable(false);
|
inputButton.setDisable(false);
|
||||||
stopButton.setDisable(true);
|
stopButton.setDisable(true);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user