diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-17 21:41:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-17 21:41:55 +0200 |
| commit | 72a66d3fbb89a69a08c7bc0e4b67c4087332c586 (patch) | |
| tree | ccf7701512d9468efe5712a933c5e68110371e18 /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | f51eba9e79ae1cfce0b205f25e9359395ae5b465 (diff) | |
| parent | 65d2a6c59037646aaa3f3d962b9de7cab58f0880 (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.cpp | 2 |
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()); }); |
