force set tab bar index to be able to return to the same tab as before parameters were open

This commit is contained in:
Gaelle Braud 2024-09-30 15:35:29 +02:00
parent b853747c19
commit 5fe8c9f021

View file

@ -141,6 +141,9 @@ Control.TabBar {
mainItem.implicitWidth = Math.max(mainItem.implicitWidth, advanceWidth + buttonIcon.buttonSize)
}
}
onClicked: {
mainItem.setCurrentIndex(TabBar.index)
}
background: Item {
}