Skip to content

Commit

Permalink
Fix bug commented in wireviz#186
Browse files Browse the repository at this point in the history
Changes in wireviz#186 made it impossible to hide cable wire numbers.

wireviz#186 (comment)
  • Loading branch information
kvid committed Aug 27, 2023
1 parent 5eb208d commit f9d1dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/DataClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def __post_init__(self) -> None:
# hide designators for auto-generated cables by default
self.show_name = self.name[0:2] != "__"

if not self.show_wirenumbers:
if self.show_wirenumbers is None:
# by default, show wire numbers for cables, hide for bundles
self.show_wirenumbers = self.category != "bundle"

Expand Down

0 comments on commit f9d1dd0

Please sign in to comment.