forked from M-Labs/artiq
1
0
Fork 0

moninj: fix visual bug

This commit is contained in:
Simon Renblad 2024-07-02 13:02:47 +08:00 committed by Sébastien Bourdeauducq
parent 9386a7a16f
commit f1e8b8772a
1 changed files with 1 additions and 1 deletions

View File

@ -871,9 +871,9 @@ class _MonInjDock(QDockWidgetCloseDetect):
def layout_widgets(self, widgets):
for widget in sorted(widgets, key=lambda w: w.sort_key()):
widget.show()
self.manager.dm.setup_monitoring(True, widget)
self.flow.addWidget(widget)
widget.show()
def restore_widgets(self):
if self.widget_uids is not None: