mailr10223 - /branches/bieri_gui/gui_bieri/res/select_model_calc.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 15, 2010 - 10:12:
Author: bugman
Date: Fri Jan 15 10:12:53 2010
New Revision: 10223

URL: http://svn.gna.org/viewcvs/relax?rev=10223&view=rev
Log:
Simplified the whichmodel() function (not sure what the removed wx calls did 
anyway).

This corresponds to one component of the patch_II file attached to 
https://gna.org/task/?6847 by
Michael Bieri (https://gna.org/users/michaelbieri).


Modified:
    branches/bieri_gui/gui_bieri/res/select_model_calc.py

Modified: branches/bieri_gui/gui_bieri/res/select_model_calc.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/res/select_model_calc.py?rev=10223&r1=10222&r2=10223&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/res/select_model_calc.py (original)
+++ branches/bieri_gui/gui_bieri/res/select_model_calc.py Fri Jan 15 10:12:53 
2010
@@ -223,9 +223,7 @@
 def whichmodel():
     global selection
     selection = None
-    application = wx.PySimpleApp()
     dlg = select_tensor(None, -1, "")
-    application.SetTopWindow(dlg)
     dlg.ShowModal()
     return selection
 




Related Messages


Powered by MHonArc, Updated Fri Jan 15 10:20:04 2010