Author: bugman Date: Fri Feb 5 17:01:37 2010 New Revision: 10665 URL: http://svn.gna.org/viewcvs/relax?rev=10665&view=rev Log: Shifted the MainLoop() call to be outside the wx.App initialisation. This was a strange place to have it, in the OnInit() method! This should prevent future issues. Modified: branches/bieri_gui/gui_bieri/__init__.py branches/bieri_gui/relax Modified: branches/bieri_gui/gui_bieri/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/__init__.py?rev=10665&r1=10664&r2=10665&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/__init__.py (original) +++ branches/bieri_gui/gui_bieri/__init__.py Fri Feb 5 17:01:37 2010 @@ -68,8 +68,8 @@ # Show it. main.Show() - # Start the GUI main loop execution. - self.MainLoop() + # All is good! + return True def show_splash(self): Modified: branches/bieri_gui/relax URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/relax?rev=10665&r1=10664&r2=10665&view=diff ============================================================================== --- branches/bieri_gui/relax (original) +++ branches/bieri_gui/relax Fri Feb 5 17:01:37 2010 @@ -129,7 +129,8 @@ sys.exit() # Start the relax GUI wx application. - gui_bieri.App() + app = gui_bieri.App() + app.MainLoop() # Execute the relax test suite elif mode == 'test suite':