1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-22 23:40:08 -08:00

Fix clearing input field.

This commit is contained in:
Danila Fedorin 2017-08-05 14:36:42 -07:00
parent a7ed7b48cf
commit a5a1f3a96a

View File

@ -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);
});