From 43623b3c7bbfaebf65bbbc6c5909445a1ed5f9e9 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Fri, 16 Jul 2021 11:14:26 +0200 Subject: [PATCH] fix(StatusChatListCategory): ensures showActionButtons is taken into account when showing the menu button and right click --- ui/StatusQ/src/StatusQ/Components/StatusChatListCategory.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatListCategory.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatListCategory.qml index 2ade44c6c5..e861fc0a2f 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatListCategory.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatListCategory.qml @@ -32,10 +32,10 @@ Column { title: statusChatListCategory.name opened: statusChatListCategory.opened - showMenuButton: !!statusChatListCategory.popupMenu + showMenuButton: showActionButtons && !!statusChatListCategory.popupMenu onClicked: { - if (mouse.button === Qt.RightButton && !!statusChatListCategory.popupMenu) { + if (mouse.button === Qt.RightButton && showActionButtons && !!statusChatListCategory.popupMenu) { highlighted = true popupMenuSlot.item.popup(mouse.x + 4, mouse.y + 6) return