From ad3c2acfd5a31547cc99f141562ec27d24bfe658 Mon Sep 17 00:00:00 2001 From: danielhrisca Date: Wed, 25 Sep 2024 11:38:49 +0300 Subject: [PATCH] we need to trim again --- src/asammdf/gui/widgets/plot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/asammdf/gui/widgets/plot.py b/src/asammdf/gui/widgets/plot.py index b20e25200..f580cb321 100644 --- a/src/asammdf/gui/widgets/plot.py +++ b/src/asammdf/gui/widgets/plot.py @@ -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: @@ -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):