Added null check.
This commit is contained in:
parent
14f27d2f3b
commit
a9f8888564
|
@ -43,7 +43,9 @@ public class Tab extends org.zkoss.zul.Tab
|
|||
@Override
|
||||
public void onClose() {
|
||||
Tabpanel tp = (Tabpanel) getLinkedPanel();
|
||||
if (tp != null) {
|
||||
tp.onClose();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue