diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2017-11-19 18:50:38 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2017-12-28 19:08:38 +0100 |
| commit | b63ec57c1e5ace830ab67f0d4779b782d08b7b21 (patch) | |
| tree | a45c13443953b6a83fa42d65d0b88f8678f0d7c7 /Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp | |
| parent | 8795b342d101a370d314a8b600d38ff1512ec1d4 (diff) | |
Qt: Connect debugging widgets
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp index e9817b84ff..08e5ba3168 100644 --- a/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp @@ -117,7 +117,8 @@ void RegisterWidget::ShowContextMenu() auto type = static_cast<RegisterType>(item->data(DATA_TYPE).toInt()); auto display = item->GetDisplay(); - menu->addAction(tr("Add to &watch")); + AddAction(menu, tr("Add to &watch"), this, + [this, item] { emit RequestMemoryBreakpoint(item->GetValue()); }); menu->addAction(tr("View &memory")); menu->addAction(tr("View &code")); |
