Skip to content
Snippets Groups Projects
Commit d659cd69 authored by valerio's avatar valerio
Browse files

Added one more process events to exit function

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2692 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 7bd65087
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ from ost.gui.dng import termuse ...@@ -23,6 +23,7 @@ from ost.gui.dng import termuse
from PyQt4.QtGui import * from PyQt4.QtGui import *
def _my_exit(code): def _my_exit(code):
QtGui.QApplication.instance().quit() QtGui.QApplication.instance().quit()
gui.GostyApp.Instance().ProcessEvents()
sys._exit(code) sys._exit(code)
sys._exit=sys.exit sys._exit=sys.exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment