mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Make Save in HMD settings dialogs return to previous dialog
Same as Cancel key does.
This commit is contained in:
parent
097b4c177a
commit
398724de73
1 changed files with 5 additions and 1 deletions
|
@ -41,8 +41,12 @@ Item {
|
||||||
section.saveAll();
|
section.saveAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (HMD.active) {
|
||||||
|
tablet.popFromStack();
|
||||||
|
} else {
|
||||||
closeDialog();
|
closeDialog();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function restoreAll() {
|
function restoreAll() {
|
||||||
for (var i = 0; i < sections.length; ++i) {
|
for (var i = 0; i < sections.length; ++i) {
|
||||||
|
|
Loading…
Reference in a new issue