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:
parent
07e6d008bd
commit
5fe7528855
|
@ -101,6 +101,7 @@ void RegisterWidget::ConnectWidgets()
|
||||||
connect(m_table, &QTableWidget::customContextMenuRequested, this,
|
connect(m_table, &QTableWidget::customContextMenuRequested, this,
|
||||||
&RegisterWidget::ShowContextMenu);
|
&RegisterWidget::ShowContextMenu);
|
||||||
connect(m_table, &QTableWidget::itemChanged, this, &RegisterWidget::OnItemChanged);
|
connect(m_table, &QTableWidget::itemChanged, this, &RegisterWidget::OnItemChanged);
|
||||||
|
connect(&Settings::Instance(), &Settings::DebugFontChanged, m_table, &QWidget::setFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RegisterWidget::OnItemChanged(QTableWidgetItem* item)
|
void RegisterWidget::OnItemChanged(QTableWidgetItem* item)
|
||||||
|
|
Loading…
Reference in New Issue