mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
TypeAssumptions close button now only works when type assumptions are correct
This commit is contained in:
parent
8068f82d40
commit
ee1847358d
@ -118,7 +118,7 @@ public class TypeAssumptionsArea extends Dialog implements LocaleChangeObserver
|
|||||||
headingLayout.setId(HEADING_LAYOUT_ID);
|
headingLayout.setId(HEADING_LAYOUT_ID);
|
||||||
|
|
||||||
Icon closeIcon = new Icon(VaadinIcon.CLOSE_SMALL);
|
Icon closeIcon = new Icon(VaadinIcon.CLOSE_SMALL);
|
||||||
closeIcon.addClickListener(event -> this.close());
|
closeIcon.addClickListener(event -> closeAction());
|
||||||
closeIcon.setId(CLOSE_ICON_ID);
|
closeIcon.setId(CLOSE_ICON_ID);
|
||||||
headingLayout.add(heading);
|
headingLayout.add(heading);
|
||||||
headingLayout.add(closeIcon);
|
headingLayout.add(closeIcon);
|
||||||
|
Loading…
Reference in New Issue
Block a user