1
0
Fork 0
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:
Sébastien Blin 2023-06-15 15:02:39 -04:00
parent e867b578bf
commit 41b9e541bb

View file

@ -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