From f1e8b8772aaa74228f1d7219e2cd80a37a7503a2 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 2 Jul 2024 13:02:47 +0800 Subject: [PATCH] moninj: fix visual bug --- artiq/dashboard/moninj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index e83497289..c38940ddc 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -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: