force set tab bar index to be able to return to the same tab as before parameters were open
This commit is contained in:
parent
b853747c19
commit
5fe8c9f021
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ Control.TabBar {
|
||||||
mainItem.implicitWidth = Math.max(mainItem.implicitWidth, advanceWidth + buttonIcon.buttonSize)
|
mainItem.implicitWidth = Math.max(mainItem.implicitWidth, advanceWidth + buttonIcon.buttonSize)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
onClicked: {
|
||||||
|
mainItem.setCurrentIndex(TabBar.index)
|
||||||
|
}
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue