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();
|
item.activate();
|
||||||
break;
|
break;
|
||||||
case Qt.RightButton:
|
case Qt.RightButton:
|
||||||
if (!item.hasMenu)
|
item.hasMenu && menu.open();
|
||||||
return;
|
|
||||||
menu.open();
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log("Buttonevent unhandled");
|
console.log("Buttonevent unhandled");
|
||||||
|
|
Loading…
Add table
Reference in a new issue