forked from M-Labs/artiq
moninj: fix visual bug
This commit is contained in:
parent
9386a7a16f
commit
f1e8b8772a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue