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: {
|
onSelectedConferenceChanged: {
|
||||||
// While a conference is being edited, we need to stay on the edit page
|
// While a conference is being created or edited, we need to stay on the edition page
|
||||||
if (rightPanelStackView.currentItem && (rightPanelStackView.currentItem.objectName === "editConf")) return
|
|
||||||
rightPanelStackView.clear()
|
rightPanelStackView.clear()
|
||||||
|
if ((rightPanelStackView.currentItem && rightPanelStackView.currentItem.objectName === "editConf")
|
||||||
|
|| (leftPanelStackView.currentItem && leftPanelStackView.currentItem.objectName === "createConf")) return
|
||||||
if (selectedConference && selectedConference.core && selectedConference.core.haveModel) {
|
if (selectedConference && selectedConference.core && selectedConference.core.haveModel) {
|
||||||
rightPanelStackView.push(meetingDetail, Control.StackView.Immediate)
|
rightPanelStackView.push(meetingDetail, Control.StackView.Immediate)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue