mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
do not display currently selected conf if we are creating or editing a conf #LINQT-2297
This commit is contained in:
parent
e21005045a
commit
eb1a94fc01
1 changed files with 3 additions and 2 deletions
|
|
@ -61,9 +61,10 @@ AbstractMainPage {
|
|||
}
|
||||
|
||||
onSelectedConferenceChanged: {
|
||||
// While a conference is being edited, we need to stay on the edit page
|
||||
if (rightPanelStackView.currentItem && (rightPanelStackView.currentItem.objectName === "editConf")) return
|
||||
// While a conference is being created or edited, we need to stay on the edition page
|
||||
rightPanelStackView.clear()
|
||||
if ((rightPanelStackView.currentItem && rightPanelStackView.currentItem.objectName === "editConf")
|
||||
|| (leftPanelStackView.currentItem && leftPanelStackView.currentItem.objectName === "createConf")) return
|
||||
if (selectedConference && selectedConference.core && selectedConference.core.haveModel) {
|
||||
rightPanelStackView.push(meetingDetail, Control.StackView.Immediate)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue