Skip to content

Commit

Permalink
fix(cpn): Model index missing in model list for B&W radios (#4307)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Nov 12, 2023
1 parent 1f06a30 commit e80f1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/modelslist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e80f1c4

Please sign in to comment.