diff options
| author | aldelaro5 <aldelaro5@gmail.com> | 2018-05-16 21:43:18 -0400 |
|---|---|---|
| committer | aldelaro5 <aldelaro5@gmail.com> | 2018-05-17 15:33:47 -0400 |
| commit | 65d2a6c59037646aaa3f3d962b9de7cab58f0880 (patch) | |
| tree | 25de1b5d49726999dd7b53b67b73c6dc1bdf580f /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | 5b96abf7aaf6dc12bc42906ef587bc1136af83a2 (diff) | |
Qt/debugger: properly update when we load the symbols on boot
This host event is still useful because the emu thread will load the symbols on boot if required.
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()); }); |
