made SFX default panel, if it exists

This commit is contained in:
2023-07-10 11:49:37 +02:00
parent a6c6eb7ffe
commit df7adb1d32
+2 -1
View File
@@ -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)