TypeAssumptions close button now only works when type assumptions are correct

This commit is contained in:
uogau 2021-03-10 14:58:33 +01:00
parent 8068f82d40
commit ee1847358d

View File

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