Permalink
Browse files

Merge pull request #7438 from RolandMunsil/master

Fix issue where breakpoint type wasn't correct in debugger memory view.
  • Loading branch information...
lioncash committed Oct 12, 2018
2 parents ecd4897 + 5eefd04 commit 57529bc45502df97210cd7b55b2d9ba24d5d87cd
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 57529bc

Please sign in to comment.