mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-03 20:24:14 +02:00
Debugger: Register Widget bug fix. Block updates when changing column data type.
This commit is contained in:
@@ -283,12 +283,14 @@ void RegisterWidget::ShowContextMenu()
|
||||
view_double_column})
|
||||
{
|
||||
connect(action, &QAction::triggered, [this, action] {
|
||||
m_updating = true;
|
||||
auto col = m_table->currentItem()->column();
|
||||
for (int i = 0; i < 32; i++)
|
||||
{
|
||||
auto* update_item = static_cast<RegisterColumn*>(m_table->item(i, col));
|
||||
update_item->SetDisplay(static_cast<RegisterDisplay>(action->data().toInt()));
|
||||
}
|
||||
m_updating = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user