Fix the just added fun checkerboard pattern in the main frame view
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ QVariant CANFrameModel::data(const QModelIndex &index, int role) const
|
||||
return msg->bgColor;
|
||||
}
|
||||
}
|
||||
rowFlip = !rowFlip;
|
||||
rowFlip = (index.row() % 2);
|
||||
if (rowFlip) return QApplication::palette().color(QPalette::Base);
|
||||
else return QApplication::palette().color(QPalette::AlternateBase);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user