1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-21 21:52:03 +02:00

accountComboBox: provide initial value for account status

If the account is initially disabled, the presense indicator
will still show the green color since the initial value is missed.

Change-Id: Ic580e485d4a73867789ef3774045a6939acbae4a
This commit is contained in:
Ming Rui Zhang 2021-07-15 15:39:37 -04:00
parent 14661adac6
commit 6e4fadcf11

View file

@ -132,6 +132,9 @@ Label {
imageId: LRCInstance.currentAccountId imageId: LRCInstance.currentAccountId
mode: Avatar.Mode.Account mode: Avatar.Mode.Account
presenceStatus: AccountListModel.data(
AccountListModel.index(0, 0), AccountList.Status)
} }
ColumnLayout { ColumnLayout {