Skip to content

Commit

Permalink
Don't add UseGlobTemp to Qucsator netlist
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Sep 3, 2024
1 parent 1f2ce37 commit 448d8ab
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions qucs/components/component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,13 @@ QString Component::netlist() {
s += " " + p1->Connection->Name; // node names

// output all properties
for (Property *p2 : Props)
if (p2->Name != "Symbol")
s += " " + p2->Name + "=\"" + p2->Value + "\"";
QStringList no_sim_props;
no_sim_props<<"Symbol"<<"UseGlobTemp";
for (const auto &p2 : Props) {
if (!no_sim_props.contains(p2->Name)) {
s += " " + p2->Name + "=\"" + p2->Value + "\"";
}
}

return s + '\n';
}
Expand Down

0 comments on commit 448d8ab

Please sign in to comment.