Fix skeletonmodelURLchanged signal

This commit is contained in:
Zach Fox 2018-02-21 12:12:20 -08:00
parent b548567f5a
commit 74655bde49
2 changed files with 3 additions and 8 deletions

View file

@ -564,6 +564,7 @@ Item {
: hifi.buttons.disabledTextColor[control.colorScheme]
}
RalewayBold {
id: rezIconLabel;
anchors.top: rezIcon.bottom;
anchors.topMargin: -4;
anchors.right: parent.right;
@ -575,13 +576,7 @@ Item {
size: 15;
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: {
if (MyAvatar.skeletonModelURL === root.itemHref) {
"CURRENT";
} else {
(root.buttonTextNormal)[itemTypesArray.indexOf(root.itemType)];
}
}
text: MyAvatar.skeletonModelURL === root.itemHref ? "CURRENT" : (root.buttonTextNormal)[itemTypesArray.indexOf(root.itemType)];
}
}
}

View file

@ -1479,7 +1479,7 @@ void MyAvatar::setSkeletonModelURL(const QUrl& skeletonModelURL) {
});
saveAvatarUrl();
emit skeletonChanged();
emit skeletonModelURLChanged();
}
void MyAvatar::removeAvatarEntities() {