summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxoher2015-06-29 13:56:34 +0530
committerxoher2015-06-29 13:56:34 +0530
commitebe5526305045c2b33e0810ef76324c6ae3b2ffb (patch)
tree7d06144755c1ed3d76ec5f6456ae03d0d732232f
parent739696c6c2d100b42d147b5451cb67bfc6063923 (diff)
downloadeSim-ebe5526305045c2b33e0810ef76324c6ae3b2ffb.tar.gz
eSim-ebe5526305045c2b33e0810ef76324c6ae3b2ffb.tar.bz2
eSim-ebe5526305045c2b33e0810ef76324c6ae3b2ffb.zip
Splash screen closes on closing workspace window
-rwxr-xr-xsrc/frontEnd/Application.py1
-rw-r--r--src/frontEnd/Workspace.py2
2 files changed, 3 insertions, 0 deletions
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):