diff --git a/src/app/mainview/components/SwarmDetailsPanel.qml b/src/app/mainview/components/SwarmDetailsPanel.qml index 3665c88a482d3cdceeefc024000273735980918c..88ffede78c9f94eaba1e91b00878717365962e07 100644 --- a/src/app/mainview/components/SwarmDetailsPanel.qml +++ b/src/app/mainview/components/SwarmDetailsPanel.qml @@ -177,13 +177,16 @@ Rectangle { function addRemoveButtons() { if (CurrentConversation.isCoreDialog) { - if (tabBar.contentChildren.length === 3) + if (tabBar.contentChildren.length === 3) { + tabBar.setCurrentIndex(1); tabBar.removeItem(tabBar.itemAt(0)); + } } else { if (tabBar.contentChildren.length === 2) { const obj = membersTabButtonComp.createObject(tabBar); tabBar.insertItem(0, obj); } + tabBar.setCurrentIndex(0); } }