mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 20:06:12 +00:00
Fix location of breakpoint contextmenu
This commit is contained in:
parent
2f04984b37
commit
9f0599d542
@ -176,7 +176,7 @@ void BreakpointWidget::showBreakpointContextMenu(const QPoint &pt)
|
||||
menu->addAction(actionDelBreakpoint);
|
||||
menu->addAction(actionToggleBreakpoint);
|
||||
|
||||
menu->exec(ui->breakpointTreeView->mapToGlobal(pt));
|
||||
menu->exec(ui->breakpointTreeView->viewport()->mapToGlobal(pt));
|
||||
this->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
delete menu;
|
||||
|
Loading…
Reference in New Issue
Block a user