Skip to content

Commit

Permalink
FIX: cannot set component enabled. (#952)
Browse files Browse the repository at this point in the history
Co-authored-by: ring630 <@gmail.com>
  • Loading branch information
hui-zhou-a authored Dec 18, 2024
1 parent 4268e34 commit f20b61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyedb/configuration/cfg_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ def _set_port_properties_to_edb(self):
self._pyedb_obj.component_property = cp

def set_parameters_to_edb(self):
if self.enabled:
self._pyedb_obj.enabled = self.enabled
if self.type:
self._pyedb_obj.type = self.type
if self.enabled:
self._pyedb_obj.enabled = self.enabled

self._set_model_properties_to_edb()
if self._pyedb_obj.type.lower() == "ic":
Expand Down

0 comments on commit f20b61e

Please sign in to comment.