Skip to content

Commit ff5a9aa

Browse files
Copilotxusheng6
andcommitted
Set default ascending sort by index column in TTD Calls table
Co-authored-by: xusheng6 <[email protected]>
1 parent 5af9362 commit ff5a9aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/ttdcallswidget.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ void TTDCallsQueryWidget::performQuery()
321321
// Re-enable sorting if it was enabled
322322
m_resultsTable->setSortingEnabled(sortingEnabled);
323323

324+
// Set default sort order: sort by index column (0) in ascending order
325+
m_resultsTable->sortByColumn(0, Qt::AscendingOrder);
326+
324327
// Force table update
325328
m_resultsTable->update();
326329
m_resultsTable->repaint();

0 commit comments

Comments
 (0)