1
0
Fork 0

Merge branch 'patch-4' into development

This commit is contained in:
Yakov5776 2021-03-07 17:08:05 -05:00
commit da749d36a2
1 changed files with 9 additions and 3 deletions

View File

@ -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