settings and render for setUseColorsByCanId
This commit is contained in:
+4
-1
@@ -36,7 +36,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
#endif
|
||||
|
||||
useHex = true;
|
||||
|
||||
useColorsByCanId = false;
|
||||
selfRef = this;
|
||||
|
||||
this->setWindowTitle("Savvy CAN V" + QString::number(VERSION) + " [Built " + QString(__DATE__) +"]");
|
||||
@@ -415,6 +415,9 @@ void MainWindow::readUpdateableSettings()
|
||||
model->setHexMode(useHex);
|
||||
Utility::decimalMode = !useHex;
|
||||
|
||||
useColorsByCanId = settings.value("Main/ColorsByCanId", false).toBool();
|
||||
model->setUseColorsByCanId(useColorsByCanId);
|
||||
|
||||
bool tempBool;
|
||||
TimeStyle ts = TS_MICROS;
|
||||
tempBool = settings.value("Main/TimeSeconds", false).toBool();
|
||||
|
||||
Reference in New Issue
Block a user