Skip to content

Commit

Permalink
Fix input error reference
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Jan 24, 2025
1 parent 02ffe2c commit b7ea5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/firmwares/modeldata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ QStringList ModelData::errorsList()

for (int i = 0; i < CPN_MAX_INPUTS; i++) {
if (!expoData[i].isEmpty() && expoData[i].srcRaw == SOURCE_TYPE_NONE)
list.append(tr("Error - Input: %1 Line: %2 %3").arg(i + 1).arg(getInputLine(i)).arg(tr("has no source")));
list.append(tr("Error - Input: %1 Line: %2 %3").arg(expoData[i].chn + 1).arg(getInputLine(i)).arg(tr("has no source")));
}

for (int i = 0; i < CPN_MAX_MIXERS; i++) {
Expand Down

0 comments on commit b7ea5e0

Please sign in to comment.