Created additional shortcut to the copyAddress() function
Created additional shortcut to the copyAddress() function. I currently have this set as Alt+INS but if people want to change they can easily do so from the shortcut config menu. mCopyAddress = new QAction("&Address", this); mCopyAddress->setShortcutContext(Qt::WidgetShortcut); this->addAction(mCopyAddress); connect(mCopyAddress, SIGNAL(triggered()), this, SLOT(copyAddress()));
This commit is contained in:
parent
9828a8ef6e
commit
b4dc90039b
|
@ -487,8 +487,10 @@ void CPUDisassembly::setupRightClickContextMenu()
|
|||
connect(mCopySelectionNoBytes, SIGNAL(triggered()), this, SLOT(copySelectionNoBytes()));
|
||||
|
||||
mCopyAddress = new QAction("&Address", this);
|
||||
mCopyAddress->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(mCopyAddress);
|
||||
connect(mCopyAddress, SIGNAL(triggered()), this, SLOT(copyAddress()));
|
||||
|
||||
|
||||
mCopyDisassembly = new QAction("Disassembly", this);
|
||||
connect(mCopyDisassembly, SIGNAL(triggered()), this, SLOT(copyDisassembly()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue