sort by ID column by default

This commit is contained in:
Leopixelo
2026-06-08 15:13:13 +02:00
parent 1b77ee8a35
commit b8920c535e
+3
View File
@@ -49,6 +49,9 @@ MainWindow::MainWindow(QWidget *parent) :
ui->canFramesView->setModel(proxyModel);
ui->canFramesView->setSelectionMode(QAbstractItemView::NoSelection);
// Sort by ID column (index 1) by default
proxyModel->sort(1, Qt::AscendingOrder);
settingsDialog = new MainSettingsDialog(); //instantiate the settings dialog so it can initialize settings if this is the first run or the config file was deleted.
settingsDialog->updateSettings(); //write out all the settings. If this is the first run it'll write defaults out.