The mode to turn off hex display now works for the main frame view. It doesn't work elsewhere.
This commit is contained in:
+3
-2
@@ -43,8 +43,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
QCoreApplication::setOrganizationDomain("evtv.me");
|
||||
QCoreApplication::setApplicationName("SavvyCAN");
|
||||
|
||||
readSettings();
|
||||
|
||||
selfRef = this;
|
||||
|
||||
this->setWindowTitle("Savvy CAN V" + QString::number(VERSION));
|
||||
@@ -52,6 +50,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
model = new CANFrameModel();
|
||||
ui->canFramesView->setModel(model);
|
||||
|
||||
readSettings();
|
||||
|
||||
QStringList headers;
|
||||
headers << "Timestamp" << "ID" << "Ext" << "Bus" << "Len" << "Data";
|
||||
//model->setHorizontalHeaderLabels(headers);
|
||||
@@ -242,6 +242,7 @@ void MainWindow::readSettings()
|
||||
{
|
||||
ui->cbAutoScroll->setChecked(true);
|
||||
}
|
||||
model->setHexMode(settings.value("Main/UseHex", true).toBool());
|
||||
}
|
||||
|
||||
void MainWindow::writeSettings()
|
||||
|
||||
Reference in New Issue
Block a user