mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
swarmdetailspanel: always open on first tab option
Change-Id: If04bdf1b1398c04cdd980d28e0ee594b225ebc3d GitLab: #1231
This commit is contained in:
parent
3b85425aa3
commit
a5bf258476
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue