added "Expert Mode" to the title if -a is given

This commit is contained in:
gac-maloja
2021-10-02 11:21:20 +02:00
parent 83f2cc47ae
commit 4a5221b703

View File

@ -23,6 +23,7 @@ ENFORCED_SETTINGS = [
]
SCRIPT_NAME = "spectrometer.py"
TITLE = "SCam" if not clargs.show_all_settings else "SCam Expert Mode"
@ -50,7 +51,7 @@ pls = sorted(pls)
class MainFrame(wx.Frame):
def __init__(self, parent=None, title="SCam"):
def __init__(self, parent=None, title=TITLE):
super().__init__(parent, title=title)
panel_main = MainPanel(self)