mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 21:30:33 +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();
|
||||
}
|
||||
|
||||
if (HMD.active) {
|
||||
tablet.popFromStack();
|
||||
} else {
|
||||
closeDialog();
|
||||
}
|
||||
}
|
||||
|
||||
function restoreAll() {
|
||||
for (var i = 0; i < sections.length; ++i) {
|
||||
|
|
Loading…
Reference in a new issue