mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Update memory_viewer_panel.cpp
This commit is contained in:
parent
c49ef8e311
commit
b44aee789c
1 changed files with 3 additions and 2 deletions
|
@ -604,8 +604,9 @@ memory_viewer_panel::memory_viewer_panel(QWidget* parent, std::shared_ptr<CPUDis
|
||||||
{
|
{
|
||||||
if (auto fxo = g_fxo->try_get<memory_viewer_fxo>())
|
if (auto fxo = g_fxo->try_get<memory_viewer_fxo>())
|
||||||
{
|
{
|
||||||
if (this == fxo->last_opened[m_type])
|
auto it = fxo->last_opened.find(m_type);
|
||||||
fxo->last_opened.erase(m_type);
|
if (it != fxo->last_opened.end() && it->second == this)
|
||||||
|
fxo->last_opened.erase(it);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue