mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-24 09:25:33 +02:00
JamiIdentifier: reset edit status on account changes
Change-Id: Ifc2c5380b035c10ec188e2b643d87cca9478cd51 GitLab: #1180
This commit is contained in:
parent
e867b578bf
commit
41b9e541bb
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue