Permalink
Browse files

Fix issue with breakpoint type loaded from settings not propogating t…

…o MemoryWindow
  • Loading branch information...
RolandMunsil committed Sep 25, 2018
1 parent 54bd16e commit 5eefd0482ac31c7042b05d3826ddc28c0320b90b
Showing with 7 additions and 0 deletions.
  1. +7 −0 Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
@@ -261,6 +261,13 @@ void MemoryWidget::LoadSettings()
bool bp_w = settings.value(QStringLiteral("memorywidget/bpwrite"), false).toBool();
bool bp_log = settings.value(QStringLiteral("memorywidget/bplog"), true).toBool();
if (bp_rw)
m_memory_view->SetBPType(MemoryViewWidget::BPType::ReadWrite);
else if (bp_r)
m_memory_view->SetBPType(MemoryViewWidget::BPType::ReadOnly);
else
m_memory_view->SetBPType(MemoryViewWidget::BPType::WriteOnly);
m_bp_read_write->setChecked(bp_rw);
m_bp_read_only->setChecked(bp_r);
m_bp_write_only->setChecked(bp_w);

0 comments on commit 5eefd04

Please sign in to comment.