From 1a81d1a536f95d7933c00546b9b7dc7b46bf8f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 9 Mar 2015 15:55:34 -0600 Subject: [PATCH] Hide GUI at startup is fixed --- src/controller/mainController.py | 2 ++ src/main.py | 1 + 2 files changed, 3 insertions(+) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index eb30b120..c60f4caf 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -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() diff --git a/src/main.py b/src/main.py index 3022dbad..ccfd471b 100644 --- a/src/main.py +++ b/src/main.py @@ -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()