[Game] Use non-blocking popup for zone context menus (#7452)

Replace QMenu::exec with popup() for zone context menus to avoid blocking the scene.

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-10-09 06:07:39 +02:00 • committed by GitHub
parent 95f02ac0a1
commit 56c456414b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ void CardZone::mouseDoubleClickEvent(QGraphicsSceneMouseEvent * /*event*/)
bool CardZone::showContextMenu(const QPoint &screenPos) bool CardZone::showContextMenu(const QPoint &screenPos)
{ {
if (menu) { if (menu) {
menu->exec(screenPos); menu->popup(screenPos);
return true; return true;
} }
return false; return false;