mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-30 00:35:25 +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(actionDelBreakpoint);
|
||||||
menu->addAction(actionToggleBreakpoint);
|
menu->addAction(actionToggleBreakpoint);
|
||||||
|
|
||||||
menu->exec(ui->breakpointTreeView->mapToGlobal(pt));
|
menu->exec(ui->breakpointTreeView->viewport()->mapToGlobal(pt));
|
||||||
this->setContextMenuPolicy(Qt::CustomContextMenu);
|
this->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
|
|
||||||
delete menu;
|
delete menu;
|
||||||
|
Loading…
Reference in New Issue
Block a user