mirror of
https://github.com/nqrduck/nqrduck-measurement.git
synced 2024-11-09 11:50:01 +00:00
Improved module behaviour when changing to darkmode.
This commit is contained in:
parent
136e9ab90b
commit
ffc8d27149
1 changed files with 5 additions and 0 deletions
|
@ -136,6 +136,11 @@ class MeasurementView(ModuleView):
|
|||
plotter.canvas.ax.set_title("Measurement data - Time domain")
|
||||
plotter.canvas.ax.grid()
|
||||
|
||||
@pyqtSlot()
|
||||
def on_settings_changed(self) -> None:
|
||||
"""Redraw the plots in case the according settings have changed."""
|
||||
self.update_displayed_measurement()
|
||||
|
||||
def change_to_time_view(self) -> None:
|
||||
"""Change plotter to time domain view."""
|
||||
plotter = self._ui_form.plotter
|
||||
|
|
Loading…
Reference in a new issue