From 5fe8c9f0213e9c6885380311d2d0761a2ffa977d Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Mon, 30 Sep 2024 15:35:29 +0200 Subject: [PATCH] force set tab bar index to be able to return to the same tab as before parameters were open --- Linphone/view/Control/Container/VerticalTabBar.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Linphone/view/Control/Container/VerticalTabBar.qml b/Linphone/view/Control/Container/VerticalTabBar.qml index 7a516f983..3773b2993 100644 --- a/Linphone/view/Control/Container/VerticalTabBar.qml +++ b/Linphone/view/Control/Container/VerticalTabBar.qml @@ -141,6 +141,9 @@ Control.TabBar { mainItem.implicitWidth = Math.max(mainItem.implicitWidth, advanceWidth + buttonIcon.buttonSize) } } + onClicked: { + mainItem.setCurrentIndex(TabBar.index) + } background: Item { }