From 924d5df3c43eb13fe6c45d68dbd74e084753d4ed Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 5 Oct 2022 21:44:02 +0200 Subject: [PATCH] Fix invisible user status selector button not being checked when user is in Offline mode Signed-off-by: Claudio Cambra --- src/gui/UserStatusSelector.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index e7c40e446..489814956 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -92,7 +92,8 @@ ColumnLayout { Component.onCompleted: topButtonsLayout.updateMaxButtonHeight(implicitHeight) } UserStatusSelectorButton { - checked: userStatusSelectorModel.onlineStatus === NC.UserStatus.Invisible + checked: userStatusSelectorModel.onlineStatus === NC.UserStatus.Invisible || + userStatusSelectorModel.onlineStatus === NC.UserStatus.Offline checkable: true icon.source: userStatusSelectorModel.invisibleIcon icon.color: "transparent"