diff options
| author | aldelaro5 <aldelaro5@gmail.com> | 2018-05-11 16:38:32 -0400 |
|---|---|---|
| committer | aldelaro5 <aldelaro5@gmail.com> | 2018-05-12 19:15:26 -0400 |
| commit | 5c688b2d2b18d07576410c8082483df9630b7851 (patch) | |
| tree | 05335f97223b9614ee21b6f336141ae252fad93a /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | be6b4edb0c83551e12305603bc90e5bee33a134a (diff) | |
Qt/debugger: Don't update the symbols list unnecessarily
It only needs to be updated when we changes the symbols, not every time the code widget updates and it does take a while to update them so this fixes some delay when updating the code window.
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp index 060494c0c8..8c644e7375 100644 --- a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp @@ -147,7 +147,7 @@ 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::itemSelectionChanged, this, &CodeWidget::OnSelectSymbol); + 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, @@ -252,7 +252,6 @@ void CodeWidget::Update() Symbol* symbol = g_symbolDB.GetSymbolFromAddr(m_code_view->GetAddress()); UpdateCallstack(); - UpdateSymbols(); m_code_view->Update(); m_code_view->setFocus(); |
