summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-05-17 21:41:55 +0200
committerGitHub <noreply@github.com>2018-05-17 21:41:55 +0200
commit72a66d3fbb89a69a08c7bc0e4b67c4087332c586 (patch)
treeccf7701512d9468efe5712a933c5e68110371e18 /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
parentf51eba9e79ae1cfce0b205f25e9359395ae5b465 (diff)
parent65d2a6c59037646aaa3f3d962b9de7cab58f0880 (diff)
Merge pull request #6877 from aldelaro5/qt-debugger-load-symbols
Qt/debugger: properly update when we load the symbols on boot
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt2/Debugger/CodeWidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
index 8c644e7375..e95fa87690 100644
--- a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
+++ b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
@@ -45,6 +45,8 @@ CodeWidget::CodeWidget(QWidget* parent) : QDockWidget(parent)
Update();
});
+ connect(Host::GetInstance(), &Host::NotifyMapLoaded, this, &CodeWidget::UpdateSymbols);
+
connect(&Settings::Instance(), &Settings::DebugModeToggled,
[this](bool enabled) { setHidden(!enabled || !Settings::Instance().IsCodeVisible()); });