Fixes to hopefully make signal colors look proper.

This commit is contained in:
Collin Kidder
2020-02-12 21:16:02 -05:00
parent 48d7dfa97c
commit 7f8411f47f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -288,8 +288,8 @@ void DBCMainEditor::onCellChangedMessage(int row,int col)
newMsg.name = "";
newMsg.sender = node;
newMsg.len = 0;
newMsg.fgColor = ui->MessagesTable->item(row, 4)->backgroundColor();
newMsg.bgColor = ui->MessagesTable->item(row, 5)->backgroundColor();
newMsg.fgColor = QColor(dbcFile->findAttributeByName("GenMsgForegroundColor")->defaultValue.toString());
newMsg.bgColor = QColor(dbcFile->findAttributeByName("GenMsgBackgroundColor")->defaultValue.toString());
for (int i = 0; i < referenceFrames->length(); i++)
{