Skip to content

Commit

Permalink
reset the path to avoid visual artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Sep 25, 2024
1 parent ae555e9 commit 6db53a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/asammdf/gui/widgets/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2197,6 +2197,7 @@ def channel_item_to_config(self, item):
def channel_selection_changed(self, update=False):
def set_focused(item):
if item.type() == item.Channel:
item.signal.path = None
item.signal.enable = True

elif item.type() == item.Group:
Expand All @@ -2214,6 +2215,7 @@ def set_focused(item):
else:
if update:
for signal in self.plot.signals:
signal.path = None
signal.enable = False

iterator = QtWidgets.QTreeWidgetItemIterator(self.channel_selection)
Expand Down

0 comments on commit 6db53a7

Please sign in to comment.