chore: small logic fix
This commit is contained in:
parent
495baa5e3c
commit
455f3b24ba
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ MouseArea {
|
|||
item.activate();
|
||||
break;
|
||||
case Qt.RightButton:
|
||||
if (!item.hasMenu)
|
||||
return;
|
||||
menu.open();
|
||||
item.hasMenu && menu.open();
|
||||
break;
|
||||
default:
|
||||
console.log("Buttonevent unhandled");
|
||||
|
|
Loading…
Add table
Reference in a new issue