mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
Focus new type assumption field
This commit is contained in:
parent
0e1c596702
commit
c6eb794049
@ -62,6 +62,13 @@ public class TypeAssumptionField extends HorizontalLayout implements LocaleChang
|
||||
setId(ASSUMPTIONS_FIELD_ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* Focus the variable field of this element.
|
||||
*/
|
||||
protected void focus() {
|
||||
variableInputField.focus();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the variable of the type assumption.
|
||||
*
|
||||
|
@ -94,6 +94,7 @@ public class TypeAssumptionsArea extends Dialog implements LocaleChangeObserver
|
||||
});
|
||||
assumptionContainer.add(assumption);
|
||||
fields.add(assumption);
|
||||
assumption.focus();
|
||||
}
|
||||
|
||||
private void onDeleteAllClick() {
|
||||
|
Loading…
Reference in New Issue
Block a user