diff options
| author | Léo Lam <leo@leolam.fr> | 2020-04-27 15:29:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-27 15:29:55 +0200 |
| commit | bab04155b67541ebbff3fbb728562624b1313caa (patch) | |
| tree | 6699335c3081828f45a0d9718dfcb860469a04e9 /Source/Core/DolphinQt/Debugger/WatchWidget.cpp | |
| parent | b175e9e6ac1389e93411ad953a8c4d8aa8f18e31 (diff) | |
| parent | 330c80055dda516f29d18d3dd587a23d40fd5d15 (diff) | |
Merge pull request #8745 from AdmiralCurtiss/savestate-load-callback-qt
Qt/Debugger: Refresh on savestate load.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/WatchWidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp index e8bc2b8610..7870334227 100644 --- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp @@ -17,6 +17,7 @@ #include "Core/PowerPC/MMU.h" #include "Core/PowerPC/PowerPC.h" +#include "DolphinQt/Host.h" #include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/Resources.h" #include "DolphinQt/Settings.h" @@ -49,6 +50,8 @@ WatchWidget::WatchWidget(QWidget* parent) : QDockWidget(parent) Update(); }); + connect(Host::GetInstance(), &Host::UpdateDisasmDialog, this, &WatchWidget::Update); + connect(&Settings::Instance(), &Settings::WatchVisibilityChanged, [this](bool visible) { setHidden(!visible); }); |
