mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -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.view.prepare()
|
||||||
self.bind_stream_events()
|
self.bind_stream_events()
|
||||||
self.bind_other_events()
|
self.bind_other_events()
|
||||||
|
|
||||||
|
def check_invisible_at_startup(self):
|
||||||
# Visibility check
|
# Visibility check
|
||||||
if config.app["app-settings"]["hide_gui"] == True:
|
if config.app["app-settings"]["hide_gui"] == True:
|
||||||
self.show_hide()
|
self.show_hide()
|
||||||
|
@ -63,6 +63,7 @@ def setup():
|
|||||||
r = mainController.Controller()
|
r = mainController.Controller()
|
||||||
r.view.Show()
|
r.view.Show()
|
||||||
r.do_work()
|
r.do_work()
|
||||||
|
r.check_invisible_at_startup()
|
||||||
call_threaded(r.start)
|
call_threaded(r.start)
|
||||||
app.MainLoop()
|
app.MainLoop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user