mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Fix Shortcuts of DisassemblyContextMenu (#1510)
This commit is contained in:
parent
d6bb0c0446
commit
37cb9b5278
@ -865,6 +865,7 @@ QAction *DisassemblyContextMenu::addAnonymousAction(QString name, const char *sl
|
||||
void DisassemblyContextMenu::initAction(QAction *action, QString name, const char *slot)
|
||||
{
|
||||
action->setParent(this);
|
||||
parentWidget()->addAction(action);
|
||||
action->setText(name);
|
||||
if (slot) {
|
||||
connect(action, SIGNAL(triggered(bool)), this, slot);
|
||||
|
Loading…
Reference in New Issue
Block a user