Skip to content
Snippets Groups Projects
Commit eac59e52 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Andreas Traczyk
Browse files

mainview: prevent showing of accountComboBox when pushing chatview onto sidepanel

Change-Id: Ifb6c321dffb90aed3e39f0ffb6426a79a00300b1
parent 4ec18075
No related branches found
No related tags found
No related merge requests found
......@@ -501,10 +501,14 @@ Window {
}
} else if (sidePanelViewStack.visible
&& !mainViewStack.visible) {
// Note: the change of visibility for mainViewWindowSidePanel
// is to prevent accountComboBox to be shown when pushing
// pages to sidePanelViewStack (to be refactored)
mainViewWindowSidePanel.visible = false
if (callStackViewShouldShow) {
sidePanelViewStack.push(callStackView)
sidePanelViewStack.push(callStackView, StackView.Immediate)
} else {
sidePanelViewStack.push(communicationPageMessageWebView)
sidePanelViewStack.push(communicationPageMessageWebView, StackView.Immediate)
}
} else if (!sidePanelViewStack.visible
&& !mainViewStack.visible) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment