1
0
Fork 0

GUI: better assembling experience

This commit is contained in:
Mr. eXoDia 2014-06-24 22:25:56 +02:00
parent a7c5ca87bd
commit a948291ea4
1 changed files with 6 additions and 0 deletions

View File

@ -663,6 +663,12 @@ void CPUDisassembly::assembleAt()
msg.setWindowFlags(msg.windowFlags()&(~Qt::WindowContextHelpButtonHint));
msg.exec();
}
//select next instruction after assembling
setSingleSelection(wRVA);
int_t wInstrSize = getInstructionRVA(wRVA, 1) - wRVA - 1;
expandSelectionUpTo(wRVA + wInstrSize);
selectNext(false);
//refresh view
GuiUpdateAllViews();
}