BranchWatchDialog: Listen For clicked Signal Rather Than pressed

The latter signal was used by mistake, see PR #8263.
This commit is contained in:
mitaclaw 2024-08-08 07:41:33 -07:00
parent 0c889c715d
commit f5e7b45773
2 changed files with 7 additions and 7 deletions

View file

@ -180,7 +180,7 @@ void CodeWidget::ConnectWidgets()
});
connect(m_search_callstack, &QLineEdit::textChanged, this, &CodeWidget::UpdateCallstack);
connect(m_branch_watch, &QPushButton::pressed, this, &CodeWidget::OnBranchWatchDialog);
connect(m_branch_watch, &QPushButton::clicked, this, &CodeWidget::OnBranchWatchDialog);
connect(m_symbols_list, &QListWidget::itemPressed, this, &CodeWidget::OnSelectSymbol);
connect(m_callstack_list, &QListWidget::itemPressed, this, &CodeWidget::OnSelectCallstack);