Skip to content
Snippets Groups Projects
Commit 41b9e541 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

JamiIdentifier: reset edit status on account changes

Change-Id: Ifc2c5380b035c10ec188e2b643d87cca9478cd51
GitLab: #1180
parent e867b578
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,15 @@ Item { ...@@ -30,6 +30,15 @@ Item {
width: childrenRect.width width: childrenRect.width
height: controlsLayout.height + usernameTextEdit.height + 2 * JamiTheme.preferredMarginSize height: controlsLayout.height + usernameTextEdit.height + 2 * JamiTheme.preferredMarginSize
Connections {
target: CurrentAccount
function onIdChanged(id) {
if (!usernameTextEdit.readOnly) {
usernameTextEdit.readOnly = true;
}
}
}
// Background rounded rectangle. // Background rounded rectangle.
Rectangle { Rectangle {
id: outerRect id: outerRect
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment