diff --git a/slic/gui/daqframe.py b/slic/gui/daqframe.py index 90f0db1b..f17e2a8f 100644 --- a/slic/gui/daqframe.py +++ b/slic/gui/daqframe.py @@ -42,7 +42,8 @@ class DAQFrame(wx.Frame): if show_run: notebook.AddPage(panel_run) if show_sfx: notebook.AddPage(panel_sfx) - if show_spec: notebook.SelectPage(panel_spec) + if show_sfx: notebook.SelectPage(panel_sfx) + elif show_spec: notebook.SelectPage(panel_spec) elif show_scan: notebook.SelectPage(panel_scan) elif show_static: notebook.SelectPage(panel_static) else: notebook.SelectPage(panel_config)