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

refactor: configs for BECMonitor are validated by pydantic outside the main widget

This commit is contained in:
wyzula-jan
2023-11-11 00:24:02 +01:00
parent 92a5325aad
commit 37278e363c
5 changed files with 333 additions and 117 deletions

View File

@ -192,7 +192,7 @@ class ModularApp(QMainWindow):
# hook plots, configs and buttons together
for plot, config, button in zip(plots, configs, buttons):
plot.update_config(config)
plot.on_config_update(config)
button.clicked.connect(plot.show_config_dialog)