mailr13794 - /branches/gui_testing/gui/pipe_editor.py


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

Header


Content

Posted by edward on July 21, 2011 - 09:18:
Author: bugman
Date: Thu Jul 21 09:18:45 2011
New Revision: 13794

URL: http://svn.gna.org/viewcvs/relax?rev=13794&view=rev
Log:
Fix for the popup menu in the data pipe editor - the row and column were 
swapped.


Modified:
    branches/gui_testing/gui/pipe_editor.py

Modified: branches/gui_testing/gui/pipe_editor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/pipe_editor.py?rev=13794&r1=13793&r2=13794&view=diff
==============================================================================
--- branches/gui_testing/gui/pipe_editor.py (original)
+++ branches/gui_testing/gui/pipe_editor.py Thu Jul 21 09:18:45 2011
@@ -110,7 +110,7 @@
         row = event.GetRow()
 
         # Get the name of the data pipe.
-        self.selected_pipe = gui_to_str(self.grid.GetCellValue(0, row))
+        self.selected_pipe = gui_to_str(self.grid.GetCellValue(row, 0))
 
         # No data pipe.
         if not self.selected_pipe:




Related Messages


Powered by MHonArc, Updated Thu Jul 21 09:20:02 2011