mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 21:08:00 +02:00
Merge pull request #10174 from vladest/fix-snapshot-login-cancel
Check if dialog was opened from StackView and then pop or just go to …
This commit is contained in:
commit
d5f5192954
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ TabletModalWindow {
|
|||
HifiConstants { id: hifi }
|
||||
|
||||
onCanceled: {
|
||||
loginDialogRoot.Stack.view.pop()
|
||||
if (loginDialogRoot.Stack.view !== null) {
|
||||
loginDialogRoot.Stack.view.pop()
|
||||
} else {
|
||||
Tablet.getTablet("com.highfidelity.interface.tablet.system").gotoHomeScreen();
|
||||
}
|
||||
}
|
||||
|
||||
LoginDialog {
|
||||
|
|
Loading…
Reference in a new issue