Browse Source

Fix display of username

CURA-9146
Jaime van Kessel 2 years ago
parent
commit
5a62278097
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Account/UserOperations.qml

+ 1 - 1
resources/qml/Account/UserOperations.qml

@@ -46,7 +46,7 @@ Column
             {
                 id: initialLabel
                 anchors.centerIn: parent
-                text: profile["username"].charAt(0).toUpperCase()
+                text: profile.username.charAt(0).toUpperCase()
                 font: UM.Theme.getFont("large_bold")
                 horizontalAlignment: Text.AlignHCenter
             }