mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
reverse debug change
This commit is contained in:
parent
18ad29338c
commit
4ed07c9104
1 changed files with 7 additions and 7 deletions
|
|
@ -23,17 +23,17 @@ Window {
|
|||
|
||||
AccountProxy{
|
||||
id: accountProxy
|
||||
// onHaveAccountChanged: {
|
||||
// if(haveAccount)
|
||||
// mainWindowStackView.replace(mainPage, StackView.Immediate)
|
||||
// else
|
||||
// mainWindowStackView.replace(loginPage, StackView.Immediate)
|
||||
// }
|
||||
onHaveAccountChanged: {
|
||||
if(haveAccount)
|
||||
mainWindowStackView.replace(mainPage, StackView.Immediate)
|
||||
else
|
||||
mainWindowStackView.replace(loginPage, StackView.Immediate)
|
||||
}
|
||||
}
|
||||
StackView {
|
||||
id: mainWindowStackView
|
||||
anchors.fill: parent
|
||||
initialItem: welcomePage
|
||||
initialItem: accountProxy.haveAccount ? mainPage : welcomePage
|
||||
}
|
||||
Component {
|
||||
id: welcomePage
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue