mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-03 18:43:17 +08:00
JamiIdentifier: reset edit status on account changes
Change-Id: Ifc2c5380b035c10ec188e2b643d87cca9478cd51 GitLab: #1180
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user