mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
examples load instantly when clicked
This commit is contained in:
parent
cde13db5b1
commit
5f35f57151
@ -123,11 +123,7 @@ public class InputBar extends HorizontalLayout implements LocaleChangeObserver {
|
||||
}
|
||||
|
||||
private void onExampleButtonClick() {
|
||||
Consumer<String> setValue = value -> {
|
||||
inputField.setValue(value);
|
||||
inputField.focus();
|
||||
};
|
||||
Dialog exampleDialog = new ExampleDialog(setValue);
|
||||
Dialog exampleDialog = new ExampleDialog(this::inferTerm);
|
||||
exampleDialog.open();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user