From 1dce2cbb328a090fb5356cb0e1aebce85518e639 Mon Sep 17 00:00:00 2001 From: Lan Dam <ldam@passcal.nmt.edu> Date: Tue, 16 May 2023 08:30:16 -0600 Subject: [PATCH] fix bug no ruler showup when no TPS data --- sohstationviewer/view/plotting/time_power_squared_dialog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sohstationviewer/view/plotting/time_power_squared_dialog.py b/sohstationviewer/view/plotting/time_power_squared_dialog.py index 2705be48b..1c5acdb97 100755 --- a/sohstationviewer/view/plotting/time_power_squared_dialog.py +++ b/sohstationviewer/view/plotting/time_power_squared_dialog.py @@ -114,6 +114,7 @@ class TimePowerSquaredWidget(plotting_widget.PlottingWidget): self.plotting_axes.set_title(title, y=0, v_align='bottom') if self.plotting_data1 == {}: + self.is_working = False self.draw() self.clean_up('NO DATA') return -- GitLab