mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Unfocus all input fields on submit, fixes #33
This commit is contained in:
parent
da87576326
commit
066d7f82e2
@ -128,6 +128,7 @@ public class InputBar extends HorizontalLayout implements LocaleChangeObserver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void onTypeInferButtonClick() {
|
private void onTypeInferButtonClick() {
|
||||||
|
assumptionInputField.blur();
|
||||||
termInputField.blur();
|
termInputField.blur();
|
||||||
String assumptions = assumptionInputField.getValue();
|
String assumptions = assumptionInputField.getValue();
|
||||||
callback.accept(Pair.of(termInputField.getValue(), assumptions));
|
callback.accept(Pair.of(termInputField.getValue(), assumptions));
|
||||||
|
Loading…
Reference in New Issue
Block a user