mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Use replace instead of pop/push in order to destroy the Welcome page.
The first pop will do nothing as the welcome page is the initial item.
This commit is contained in:
parent
536123992c
commit
154a322dd3
1 changed files with 1 additions and 2 deletions
|
|
@ -20,8 +20,7 @@ Window {
|
||||||
id: welcomePage
|
id: welcomePage
|
||||||
WelcomePage {
|
WelcomePage {
|
||||||
onStartButtonPressed: {
|
onStartButtonPressed: {
|
||||||
mainWindowStackView.pop(welcomePage)
|
mainWindowStackView.replace(loginPage)// Replacing the first item will destroy the old.
|
||||||
mainWindowStackView.push(loginPage)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue