Merge pull request #15791 from zfox23/SUI/highlightText1

BUGZ-732: Enable text selection by mouse in Profile/Display Name field
This commit is contained in:
Zach Fox 2019-06-18 14:45:05 -07:00 committed by GitHub
commit 99feabd4c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,6 +94,7 @@ Item {
text: MyAvatar.sessionDisplayName === "" ? MyAvatar.displayName : MyAvatar.sessionDisplayName
maximumLength: 256
clip: true
selectByMouse: true
anchors.fill: parent
onEditingFinished: {
if (MyAvatar.displayName !== text) {