diff --git a/src/app/commoncomponents/JamiIdentifier.qml b/src/app/commoncomponents/JamiIdentifier.qml index 0668f711..ef895ebc 100644 --- a/src/app/commoncomponents/JamiIdentifier.qml +++ b/src/app/commoncomponents/JamiIdentifier.qml @@ -30,6 +30,15 @@ Item { width: childrenRect.width height: controlsLayout.height + usernameTextEdit.height + 2 * JamiTheme.preferredMarginSize + Connections { + target: CurrentAccount + function onIdChanged(id) { + if (!usernameTextEdit.readOnly) { + usernameTextEdit.readOnly = true; + } + } + } + // Background rounded rectangle. Rectangle { id: outerRect