diff --git a/sohstationviewer/view/plotting/state_of_health_widget.py b/sohstationviewer/view/plotting/state_of_health_widget.py index f04074c95c5ea73c826d20c4a9fe26a8209cbc42..0858a7f56184a76616eecfac15065eb0d4ee300d 100644 --- a/sohstationviewer/view/plotting/state_of_health_widget.py +++ b/sohstationviewer/view/plotting/state_of_health_widget.py @@ -97,6 +97,7 @@ class SOHWidget(MultiThreadedPlottingWidget): context_menu.exec_(self.mapToGlobal(event.pos())) self.curr_ax = None # to make sure curr_ax is clear + return super(SOHWidget, self).resizeEvent(event) def init_plot(self, d_obj: GeneralData, data_set_id: Union[str, Tuple[str, str]], diff --git a/sohstationviewer/view/plotting/waveform_dialog.py b/sohstationviewer/view/plotting/waveform_dialog.py index 31aebfae3d4f1760139990b51ebfa6bb050d9b13..21782e308615211fad7166f69b42d58cdbaa6a0e 100755 --- a/sohstationviewer/view/plotting/waveform_dialog.py +++ b/sohstationviewer/view/plotting/waveform_dialog.py @@ -29,6 +29,7 @@ class WaveformWidget(MultiThreadedPlottingWidget): context_menu.exec_(self.mapToGlobal(event.pos())) self.curr_ax = None # to make sure curr_ax is clear + return super(WaveformWidget, self).contextMenuEvent(event) def init_plot(self, d_obj: GeneralData, data_set_id: Union[str, Tuple[str, str]], @@ -150,6 +151,7 @@ class WaveformDialog(QtWidgets.QWidget): :param event: QResizeEvent - resize event """ self.plotting_widget.init_size() + return super(WaveformDialog, self).resizeEvent(event) def moveEvent(self, event): """