summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2020-10-26 12:03:04 -0700
committerDentomologist <dentomologist@gmail.com>2020-10-29 09:31:14 -0700
commit5fe7528855130d2226d9f1c03d7e5c879709d8e7 (patch)
treeb9dfaecdbbbe5ed7e59576cd8bf00b7d12f57c78 /Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
parent07e6d008bd6c34b8af07247935bc8aa6abc596df (diff)
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>
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/RegisterWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/RegisterWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
index baab7f5159..d41d938cc3 100644
--- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
@@ -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)