Bug fixes to DBC attribute loading and message coloring. Message colors work now!
This commit is contained in:
+2
-1
@@ -216,7 +216,8 @@ QVariant CANFrameModel::data(const QModelIndex &index, int role) const
|
||||
return msg->bgColor;
|
||||
}
|
||||
}
|
||||
return QApplication::palette().color(QPalette::Window);
|
||||
//return QApplication::palette().color(QPalette::Button);
|
||||
return QColor(Qt::white);
|
||||
}
|
||||
|
||||
if (role == Qt::TextColorRole)
|
||||
|
||||
Reference in New Issue
Block a user