Fix missing unit initialization.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17076
This commit is contained in:
parent
0078ccea09
commit
caa83ec9bd
|
@ -774,6 +774,7 @@ std::vector<SIM_MODEL::PARAM::INFO> SIM_MODEL_SOURCE::makeCcParamInfos( const st
|
||||||
paramInfo.name = "control";
|
paramInfo.name = "control";
|
||||||
paramInfo.id = 2;
|
paramInfo.id = 2;
|
||||||
paramInfo.type = SIM_VALUE::TYPE_STRING;
|
paramInfo.type = SIM_VALUE::TYPE_STRING;
|
||||||
|
paramInfo.unit = "";
|
||||||
paramInfo.description = "Controlling voltage source";
|
paramInfo.description = "Controlling voltage source";
|
||||||
paramInfos.push_back( paramInfo );
|
paramInfos.push_back( paramInfo );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue