mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:48:04 +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 }
|
HifiConstants { id: hifi }
|
||||||
|
|
||||||
onCanceled: {
|
onCanceled: {
|
||||||
loginDialogRoot.Stack.view.pop()
|
if (loginDialogRoot.Stack.view !== null) {
|
||||||
|
loginDialogRoot.Stack.view.pop()
|
||||||
|
} else {
|
||||||
|
Tablet.getTablet("com.highfidelity.interface.tablet.system").gotoHomeScreen();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LoginDialog {
|
LoginDialog {
|
||||||
|
|
Loading…
Reference in a new issue