Fix instruction editor a bit

This commit is contained in:
Nekotekina 2017-10-06 18:39:15 +03:00
parent df2fc13b7a
commit efe140bc0c
3 changed files with 55 additions and 5 deletions

View file

@ -586,14 +586,12 @@ void debugger_list::keyPressEvent(QKeyEvent* event)
{
instruction_editor_dialog* dlg = new instruction_editor_dialog(this, pc, cpu, m_debugFrame->m_disasm.get());
dlg->show();
m_debugFrame->DoUpdate();
return;
}
case Qt::Key_R:
{
register_editor_dialog* dlg = new register_editor_dialog(this, pc, cpu, m_debugFrame->m_disasm.get());
dlg->show();
m_debugFrame->DoUpdate();
return;
}
}