From 8c772fa4bc845c341ed03ab699104d68eb3e41af Mon Sep 17 00:00:00 2001
From: ldam <ldam@passcal.nmt.edu>
Date: Thu, 7 Mar 2024 16:33:46 -0700
Subject: [PATCH] return super's events to finish them

---
 sohstationviewer/view/plotting/state_of_health_widget.py | 1 +
 sohstationviewer/view/plotting/waveform_dialog.py        | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/sohstationviewer/view/plotting/state_of_health_widget.py b/sohstationviewer/view/plotting/state_of_health_widget.py
index f04074c95..0858a7f56 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 31aebfae3..21782e308 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):
         """
-- 
GitLab