mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
Hide GUI at startup is fixed
This commit is contained in:
parent
e1b3a94b13
commit
1a81d1a536
@ -171,6 +171,8 @@ class Controller(object):
|
||||
self.view.prepare()
|
||||
self.bind_stream_events()
|
||||
self.bind_other_events()
|
||||
|
||||
def check_invisible_at_startup(self):
|
||||
# Visibility check
|
||||
if config.app["app-settings"]["hide_gui"] == True:
|
||||
self.show_hide()
|
||||
|
@ -63,6 +63,7 @@ def setup():
|
||||
r = mainController.Controller()
|
||||
r.view.Show()
|
||||
r.do_work()
|
||||
r.check_invisible_at_startup()
|
||||
call_threaded(r.start)
|
||||
app.MainLoop()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user