1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 12:55:12 +03:00

Script output names same as on the radio (i.e. LUA1b)

This commit is contained in:
Damjan Adamic 2014-06-21 22:20:56 +02:00
parent d0edbacf37
commit 831cbc0122

View file

@ -358,7 +358,7 @@ QString RawSource::toString(const ModelData & model)
return result;
}
case SOURCE_TYPE_LUA_OUTPUT:
return QObject::tr("[S%1]%2").arg(index/16+1).arg(index%16+1);
return QObject::tr("LUA%1%2").arg(index/16+1).arg(QChar('a'+index%16));
case SOURCE_TYPE_STICK:
return AnalogString(index);
case SOURCE_TYPE_TRIM: