From ac4a22996472fe5b65fb13e279c271799a743fa9 Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Wed, 11 Oct 2023 13:35:49 -0500 Subject: [PATCH] Rerender when panel buffer is modified Ensure that a rerender occurs when the panel buffer is modified. Signed-off-by: Patrick Avery --- hexrd/ui/calibration/panel_buffer_dialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hexrd/ui/calibration/panel_buffer_dialog.py b/hexrd/ui/calibration/panel_buffer_dialog.py index dc1c6208e..0a804bafd 100644 --- a/hexrd/ui/calibration/panel_buffer_dialog.py +++ b/hexrd/ui/calibration/panel_buffer_dialog.py @@ -70,6 +70,7 @@ def on_accepted(self): if self.update_config(): self.accepted.emit() + HexrdConfig().rerender_needed.emit() self.finished.emit(self.ui.result()) def on_rejected(self): @@ -211,6 +212,7 @@ def clear_panel_buffer(self): # Clear the config options on the internal config self.detector_config['buffer'] = self.default_buffer self.update_enable_states() + HexrdConfig().rerender_needed.emit() @property def default_buffer(self):