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
|
// static
|
||||||
QString CurveReference::typeToString(const CurveRefType type)
|
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;
|
int idx = (int)type;
|
||||||
|
|
||||||
if (idx < 0 || idx >= strl.count())
|
if (idx < 0 || idx >= strl.count())
|
||||||
|
|||||||
Reference in New Issue
Block a user