diff options
Diffstat (limited to 'portato/gui')
-rw-r--r-- | portato/gui/__init__.py | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py index 20bcba6..0df890c 100644 --- a/portato/gui/__init__.py +++ b/portato/gui/__init__.py @@ -17,15 +17,12 @@ from .exception_handling import register_ex_handler def run (): from .windows.splash import SplashScreen - try: - s = SplashScreen(_("Loading Backend")) - register_ex_handler() - s.show() - from .windows.main import MainWindow - m = MainWindow(s) - s.hide() - m.main() - except KeyboardInterrupt: - pass + s = SplashScreen(_("Loading Backend")) - get_listener().close() + register_ex_handler() + s.show() + + from .windows.main import MainWindow + m = MainWindow(s) + s.hide() + m.main() |