summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-24 14:49:05 +0200
committerGitHub <noreply@github.com>2019-05-24 14:49:05 +0200
commit9373bc3aa982179c70acf405469e4697fa9368a9 (patch)
tree66e8dd8edb6dd2d76bebb953f8d33e3299af3a41 /Source/Core/DolphinQt/Debugger/CodeWidget.cpp
parent6eb7c525b2e88a45811b7e016ea3b4fae23c47ad (diff)
parente06a62d9d19f379ef8f743251f4722db93aca77e (diff)
Merge pull request #8102 from dreamsyntax/debug-mousefix
Qt/Debugger CodeWidget navigation unification
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeWidget.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
index bdd8b5fa43..443da54042 100644
--- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
@@ -155,12 +155,11 @@ void CodeWidget::ConnectWidgets()
connect(m_search_address, &QLineEdit::textChanged, this, &CodeWidget::OnSearchAddress);
connect(m_search_symbols, &QLineEdit::textChanged, this, &CodeWidget::OnSearchSymbols);
- connect(m_symbols_list, &QListWidget::itemClicked, this, &CodeWidget::OnSelectSymbol);
- connect(m_callstack_list, &QListWidget::itemSelectionChanged, this,
- &CodeWidget::OnSelectCallstack);
- connect(m_function_calls_list, &QListWidget::itemSelectionChanged, this,
+ connect(m_symbols_list, &QListWidget::itemPressed, this, &CodeWidget::OnSelectSymbol);
+ connect(m_callstack_list, &QListWidget::itemPressed, this, &CodeWidget::OnSelectCallstack);
+ connect(m_function_calls_list, &QListWidget::itemPressed, this,
&CodeWidget::OnSelectFunctionCalls);
- connect(m_function_callers_list, &QListWidget::itemSelectionChanged, this,
+ connect(m_function_callers_list, &QListWidget::itemPressed, this,
&CodeWidget::OnSelectFunctionCallers);
connect(m_code_view, &CodeViewWidget::SymbolsChanged, this, &CodeWidget::UpdateSymbols);