mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-07 22:47:16 +08:00
misc: set UI on wizard exit
- switch to welcome view or call view when exiting wizard Gitlab: #105 Change-Id: Ib6c334b7297b17d92e9292ffb454f6430b3e7034
This commit is contained in:
@@ -366,10 +366,26 @@ Window {
|
||||
|
||||
onNeedToShowMainViewWindow: {
|
||||
mainViewStackLayout.currentIndex = 0
|
||||
// TODO: to be simplified in the refactor
|
||||
if (!inSettingsView) {
|
||||
if (currentAccountIsCalling()) {
|
||||
setCallStackView()
|
||||
} else {
|
||||
showWelcomeView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onWizardViewIsClosed: {
|
||||
mainViewStackLayout.currentIndex = 0
|
||||
// TODO: to be simplified in the refactor
|
||||
if (!inSettingsView) {
|
||||
if (currentAccountIsCalling()) {
|
||||
setCallStackView()
|
||||
} else {
|
||||
showWelcomeView()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user