mailr14771 - /1.3/gui/spin_viewer/frame.py


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

Header


Content

Posted by edward on October 04, 2011 - 12:34:
Author: bugman
Date: Tue Oct  4 12:34:20 2011
New Revision: 14771

URL: http://svn.gna.org/viewcvs/relax?rev=14771&view=rev
Log:
Mac OS X bug fix for changing pipes in the spin viewer window.

The pipe selector element event GetString() method was returning None as this 
is a read only
ComboBox (in wxPython 2.9).


Modified:
    1.3/gui/spin_viewer/frame.py

Modified: 1.3/gui/spin_viewer/frame.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/frame.py?rev=14771&r1=14770&r2=14771&view=diff
==============================================================================
--- 1.3/gui/spin_viewer/frame.py (original)
+++ 1.3/gui/spin_viewer/frame.py Tue Oct  4 12:34:20 2011
@@ -314,7 +314,7 @@
         # The selected pipe.
         if event:
             # The name of the selected pipe.
-            pipe = gui_to_str(event.GetString())
+            pipe = gui_to_str(self.pipe_name.GetString(event.GetSelection()))
 
             # A pipe change.
             if pipe != cdp_name():




Related Messages


Powered by MHonArc, Updated Tue Oct 04 15:00:02 2011