Hide GUI at startup is fixed

This commit is contained in:
Manuel Cortez 2015-03-09 15:55:34 -06:00
parent e1b3a94b13
commit 1a81d1a536
2 changed files with 3 additions and 0 deletions

View File

@ -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()

View File

@ -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()