Fix missing unit initialization.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17076
This commit is contained in:
Jeff Young 2024-02-24 22:34:23 +00:00
parent 0078ccea09
commit caa83ec9bd
1 changed files with 1 additions and 0 deletions

View File

@ -774,6 +774,7 @@ std::vector<SIM_MODEL::PARAM::INFO> SIM_MODEL_SOURCE::makeCcParamInfos( const st
paramInfo.name = "control";
paramInfo.id = 2;
paramInfo.type = SIM_VALUE::TYPE_STRING;
paramInfo.unit = "";
paramInfo.description = "Controlling voltage source";
paramInfos.push_back( paramInfo );