Skip to content

Commit

Permalink
Merge pull request #6360 from spycrab/qt_mbp_delete
Browse files Browse the repository at this point in the history
Qt/BreakpointWidget: Fix MBP delete
  • Loading branch information
lioncash committed Feb 7, 2018
2 parents 920dd0e + 2f7b68a commit bb805bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp
Expand Up @@ -142,7 +142,10 @@ void BreakpointWidget::Update()
for (const auto& mbp : PowerPC::memchecks.GetMemChecks())
{
m_table->setRowCount(i + 1);
m_table->setItem(i, 0, create_item(mbp.break_on_hit || mbp.log_on_hit ? tr("on") : QString()));
auto* active = create_item(mbp.break_on_hit || mbp.log_on_hit ? tr("on") : QString());
active->setData(Qt::UserRole, mbp.start_address);

m_table->setItem(i, 0, active);
m_table->setItem(i, 1, create_item(QStringLiteral("MBP")));

if (g_symbolDB.GetSymbolFromAddr(mbp.start_address))
Expand Down

0 comments on commit bb805bd

Please sign in to comment.