sort by ID column by default
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user