mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
TabSheet.addTab() doesn't display the new tab until the new tab caption is specified #650
This commit is contained in:
parent
794ea90e85
commit
bc04e00d9a
@ -302,6 +302,8 @@ public class WebTabSheet extends WebAbstractComponent<CubaTabSheet> implements T
|
||||
tabMapping.put(tabComponent, new ComponentDescriptor(name, childComponent));
|
||||
com.vaadin.ui.TabSheet.Tab tabControl = this.component.addTab(tabComponent);
|
||||
|
||||
tab.setCaption(name);
|
||||
|
||||
if (getDebugId() != null) {
|
||||
this.component.setTestId(tabControl,
|
||||
AppUI.getCurrent().getTestIdManager().getTestId(getDebugId() + "." + name));
|
||||
|
Loading…
Reference in New Issue
Block a user