mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-04 18:55:44 +00:00
fix(StatusChatListCategory): only try open popup when supplied
Closes #220
This commit is contained in:
parent
087adef8df
commit
a3db546dc5
@ -35,7 +35,7 @@ Column {
|
||||
showMenuButton: !!statusChatListCategory.popupMenu
|
||||
|
||||
onClicked: {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
if (mouse.button === Qt.RightButton && !!statusChatListCategory.popupMenu) {
|
||||
highlighted = true
|
||||
popupMenuSlot.item.popup(mouse.x + 4, mouse.y + 6)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user