DolphinQt: Update register view font when Debug Font changes

Resolves https://bugs.dolphin-emu.org/issues/12261

Co-authored-by: Léo Lam <leo@leolam.fr>
This commit is contained in:
Dentomologist 2020-10-26 12:03:04 -07:00
parent 07e6d008bd
commit 5fe7528855
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ void RegisterWidget::ConnectWidgets()
connect(m_table, &QTableWidget::customContextMenuRequested, this,
&RegisterWidget::ShowContextMenu);
connect(m_table, &QTableWidget::itemChanged, this, &RegisterWidget::OnItemChanged);
connect(&Settings::Instance(), &Settings::DebugFontChanged, m_table, &QWidget::setFont);
}
void RegisterWidget::OnItemChanged(QTableWidgetItem* item)