Merge remote-tracking branch 'origin/elecpower/dynamic-datamodels' into elecpower/cpn-tele-edit-prt
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user