Fix rename not working correctly in AvatarPackager

This commit is contained in:
Ryan Huffman 2019-01-04 08:43:43 -08:00
parent 93f53cf43d
commit f27ee1767c

View file

@ -109,7 +109,7 @@ ShadowRectangle {
font.pixelSize: 28 font.pixelSize: 28
z: 200 z: 200
onFocusChanged: { onFocusChanged: {
if (titleArea.state === "renaming" && !titleArea.focus) { if (titleArea.state === "renaming" && !focus) {
accepted(); accepted();
} }
} }