Fix TabView error

pull/19/head
reionwong 5 years ago
parent 18065710f9
commit 618131c5de

@ -69,7 +69,9 @@ Container {
function closeTab(index) {
control.removeItem(control.takeItem(index))
control.currentItemChanged()
control.currentItem.forceActiveFocus()
if (control.currentItem)
control.currentItem.forceActiveFocus()
}
function addTab(component, properties) {

Loading…
Cancel
Save