From ebe5526305045c2b33e0810ef76324c6ae3b2ffb Mon Sep 17 00:00:00 2001 From: xoher Date: Mon, 29 Jun 2015 13:56:34 +0530 Subject: Splash screen closes on closing workspace window --- src/frontEnd/Application.py | 1 + src/frontEnd/Workspace.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 62278f9e..adb81966 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -299,6 +299,7 @@ def main(args): splash.show() #QtGui.QApplication.setStyle(QtGui.QStyleFactory.create("Cleanlooks")) appView = Application() + appView.splash=splash appView.obj_workspace.returnWhetherClickedOrNot(appView) appView.hide() appView.obj_workspace.show() diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index f2dbc1b4..8f2b6c96 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -80,6 +80,7 @@ class Workspace(QtGui.QWidget): self.obj_appconfig.print_info('Default workspace selected : ' + self.obj_appconfig.default_workspace["workspace"]) self.close() var_appView.show() + var_appView.splash.close() @@ -113,6 +114,7 @@ class Workspace(QtGui.QWidget): self.imp_var=1 self.close() var_appView.show() + var_appView.splash.close() def browseLocation(self): -- cgit