0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

fix: config_dialog.py can load the current configuration of the plot

This commit is contained in:
wyzula-jan
2023-10-19 16:24:04 +02:00
committed by wyzula_j
parent bf2a09e630
commit f94a29bf4b
4 changed files with 86 additions and 19 deletions

View File

@ -197,7 +197,7 @@ class ModularApp(QMainWindow):
self.glw_3_layout.addWidget(self.bec_device_monitor_3) # Add BECDeviceMonitor to the layout
def show_config_dialog(self, config, monitor):
# self.config_dialog.load_config(config) # Load the configuration into the dialog
self.config_dialog.load_config(config) # Load the configuration into the dialog
self.config_dialog.config_updated.connect(
monitor.update_config
) # Connect the signal to the monitor's slot