diff --git a/resources/qml/Account/UserOperations.qml b/resources/qml/Account/UserOperations.qml index 52d9cfc344..70000d97da 100644 --- a/resources/qml/Account/UserOperations.qml +++ b/resources/qml/Account/UserOperations.qml @@ -46,7 +46,7 @@ Column { id: initialLabel anchors.centerIn: parent - text: profile.username.charAt(0).toUpperCase() + text: profile.username ? profile.username.charAt(0).toUpperCase() : "" font: UM.Theme.getFont("large_bold") horizontalAlignment: Text.AlignHCenter }