FIFOAnalyzer: fix command description updates

When dragging the selection, the mismatch between signal
(itemSelectionChanged) and data consumed (currentRow) seemed to cause
the description to lag behind by one row.
This commit is contained in:
Tillmann Karras committed 2025-08-22 02:02:28 +01:00
1 parent 2e09dc0fdd
commit 30017632dd
1 file changed
+1 -2
+1 -2
View File
@@ -117,8 +117,7 @@ void FIFOAnalyzer::CreateWidgets()
void FIFOAnalyzer::ConnectWidgets()
{
connect(m_tree_widget, &QTreeWidget::itemSelectionChanged, this, &FIFOAnalyzer::UpdateDetails);
connect(m_detail_list, &QListWidget::itemSelectionChanged, this,
&FIFOAnalyzer::UpdateDescription);
connect(m_detail_list, &QListWidget::currentRowChanged, this, &FIFOAnalyzer::UpdateDescription);
connect(m_search_edit, &QLineEdit::returnPressed, this, &FIFOAnalyzer::BeginSearch);
connect(m_search_new, &QPushButton::clicked, this, &FIFOAnalyzer::BeginSearch);