diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py index 182b79e9054a337a3ff898bc075b84c63880fa89..1a8184df539794a37ae10551c43ae22738527d3f 100644 --- a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py +++ b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py @@ -362,7 +362,7 @@ class PlottingWidget(QtWidgets.QScrollArea): """ if len(self.zoom_minmax_list) > 1: self.min_x, self.max_x = self.zoom_minmax_list[-2] - self.zoom_minmax_list.pop(-1) + self.zoom_minmax_list.pop() self.set_lim(is_zoom_in=False) self.zoom_marker1.set_visible(False) self.zoom_marker2.set_visible(False)