Skip to content

Commit

Permalink
Fix for node names with several spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aloytag committed Sep 2, 2024
1 parent 8ba0590 commit 2f27a70
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "electricalsim"
version = "0.0.8.8"
version = "0.0.8.9"
author = "Dr. Ing. Ariel S. Loyarte"
authors = [
{ name="Dr. Ing. Ariel S. Loyarte", email="[email protected]" },
Expand Down
Binary file not shown.
Binary file modified src/electricalsim/lib/__pycache__/electricalGraph.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file modified src/electricalsim/lib/__pycache__/table_widget.cpython-311.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions src/electricalsim/lib/electricalGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -4003,6 +4003,7 @@ def _on_node_name_changed2(self, node_id, name):
"""
node = self.get_node_by_id(node_id)
node.set_property('name', name)
name = node.get_property('name')
node.update_tooltip(self.net)
type_ = node.get_property('type_')
if type_=='BusNode.BusNode':
Expand Down

0 comments on commit 2f27a70

Please sign in to comment.