mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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.
This commit is contained in:
parent
be6b4edb0c
commit
5c688b2d2b
5 changed files with 17 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue