Fix menu update on app reopened

This commit is contained in:
luiscuenca 2019-01-14 12:27:59 -07:00
parent 43d967329c
commit 824a93f900

View file

@ -57,9 +57,13 @@ Rectangle {
}
if (settings.otherAvatarsCollisionsEnabled) {
otherAvatarsCollisionsEnabledRadiobutton.checked = true;
} else {
otherAvatarsCollisionsDisabledRadiobutton.checked = true;
}
if (settings.collisionsEnabled) {
environmentCollisionsEnabledRadiobutton.checked = true;
} else {
environmentCollisionsDisabledRadiobutton.checked = true;
}
avatarAnimationJSON = settings.animGraphUrl;
@ -281,7 +285,6 @@ Rectangle {
Layout.leftMargin: -20
ButtonGroup.group: otherAvatarsOnOff
checked: true
colorScheme: hifi.colorSchemes.light
fontSize: 17
@ -326,7 +329,6 @@ Rectangle {
Layout.leftMargin: -20
ButtonGroup.group: worldOnOff
checked: true
colorScheme: hifi.colorSchemes.light
fontSize: 17