Merge branch 'patch-4' into development
This commit is contained in:
commit
da749d36a2
|
@ -101,11 +101,17 @@ void CPUDisassembly::mouseDoubleClickEvent(QMouseEvent* event)
|
||||||
// (Disassembly) Assemble dialog
|
// (Disassembly) Assemble dialog
|
||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
|
if (settingboolget("Disassembler", "AssembleOnDoubleClick"))
|
||||||
|
{
|
||||||
|
assembleSlot();
|
||||||
|
}
|
||||||
|
else {
|
||||||
duint dest = DbgGetBranchDestination(rvaToVa(getInitialSelection()));
|
duint dest = DbgGetBranchDestination(rvaToVa(getInitialSelection()));
|
||||||
|
|
||||||
if(DbgMemIsValidReadPtr(dest))
|
if(DbgMemIsValidReadPtr(dest))
|
||||||
gotoAddress(dest);
|
gotoAddress(dest);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// (Comments) Set comment dialog
|
// (Comments) Set comment dialog
|
||||||
|
|
Loading…
Reference in New Issue