fix(cpn): Model index missing in model list for B&W radios (#4307)

This commit is contained in:
philmoz
2023-11-12 11:17:32 +10:00
committed by GitHub
parent 1f06a3074d
commit e80f1c4243
+1 -1
View File
@@ -621,7 +621,7 @@ void ModelsListModel::refresh()
}
else {
current = rootItem->appendChild(i);
current->setData(currentColumn++, QString().arg(i + 1, 2, 10, QChar('0')));
current->setData(currentColumn++, QString("%1").arg(i + 1, 2, 10, QChar('0')));
}
if (!model.isEmpty() && current) {