Merge remote-tracking branch 'origin/elecpower/dynamic-datamodels' into elecpower/cpn-tele-edit-prt

This commit is contained in:
elecpower
2021-01-14 14:17:26 +11:00
+1 -1
View File
@@ -82,7 +82,7 @@ int CurveReference::getDefaultValue(const CurveRefType type, const bool isGVar)
// static
QString CurveReference::typeToString(const CurveRefType type)
{
const QStringList strl = { "Diff", "Expo" , "Func", "Curve" };
const QStringList strl = { tr("Diff"), tr("Expo") , tr("Func"), tr("Curve") };
int idx = (int)type;
if (idx < 0 || idx >= strl.count())