Skip to content

Commit

Permalink
we need to trim again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Sep 25, 2024
1 parent 6db53a7 commit ad3c2ac
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 @@ -2211,6 +2211,7 @@ def set_focused(item):
for item in self.channel_selection.selectedItems():
set_focused(item)

self.plot.trim()
self.plot.update()
else:
if update:
Expand All @@ -2229,6 +2230,7 @@ def set_focused(item):

iterator += 1

self.plot.trim()
self.plot.update()

def channel_selection_item_changed(self, top_left, bottom_right, roles):
Expand Down

0 comments on commit ad3c2ac

Please sign in to comment.