fix sorting of multiplexed signals

This commit is contained in:
Leopixelo
2026-06-16 20:10:23 +02:00
parent 312165150f
commit 966c407638
+4
View File
@@ -117,8 +117,12 @@ int DBCSignalHandler::getCount()
bool signal_cmp(DBC_SIGNAL a, DBC_SIGNAL b)
{
if (a.startBit == b.startBit) {
return QString::compare(a.name, b.name, Qt::CaseInsensitive) < 0;
} else {
return a.startBit < b.startBit;
}
}
void DBCSignalHandler::sort()
{