Closed GoogleCodeExporter closed 8 years ago
The change below resolve the problem :
public void addControl(final Control control) {
checkWidget();
if(!control.isDisposed()) {
this.controls.add(control);
if (this.controls.size() == 1) {
control.setVisible(true);
} else {
control.setVisible(false);
}
control.addListener(SWT.Dispose, new Listener() {
@Override
public void handleEvent(Event event) {
controls.remove((Control) event.widget);
}
});
}
}
Original comment by gherve1...@gmail.com
on 28 Oct 2013 at 1:52
Bug fixed in the next release (0.9.7), thank your for your correction.
Original comment by laurent....@gmail.com
on 16 Nov 2013 at 10:20
Original issue reported on code.google.com by
gherve1...@gmail.com
on 28 Oct 2013 at 1:27