memory viewer: Close all instances after emulation exit

This commit is contained in:
Eladash 2021-01-12 20:56:36 +02:00 committed by Ivan
parent 923fcc3b3d
commit e05f1c37ad
4 changed files with 31 additions and 5 deletions

View file

@ -320,8 +320,7 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
case Qt::Key_M:
{
// Memory viewer
auto mvp = new memory_viewer_panel(this, pc, cpu);
mvp->show();
idm::make<memory_viewer_handle>(this, pc, cpu);
return;
}
case Qt::Key_F10: