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