added "Expert Mode" to the title if -a is given
This commit is contained in:
3
scam.py
3
scam.py
@ -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)
|
||||
|
Reference in New Issue
Block a user