Bug fixes to DBC attribute loading and message coloring. Message colors work now!

This commit is contained in:
Collin Kidder
2017-01-19 20:34:18 -05:00
parent 6af5cfadf4
commit 92ebb2d527
3 changed files with 18 additions and 11 deletions
+2 -1
View File
@@ -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)