mailr26291 - /trunk/gui/controller.py


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

Header


Content

Posted by edward on October 15, 2014 - 17:57:
Author: bugman
Date: Wed Oct 15 17:57:52 2014
New Revision: 26291

URL: http://svn.gna.org/viewcvs/relax?rev=26291&view=rev
Log:
Fix for the find next bug in the relax controller window.

This is bug #22815 (https://gna.org/bugs/?22815), the failure of find next 
using F3 (or Ctrl-G on
Mac OS X) in the relax controller window if search text has already been set.

The fix was simple, as the required flags are in the self.find_data class 
object (an instance of
wx.FindReplaceData).


Modified:
    trunk/gui/controller.py

Modified: trunk/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/controller.py?rev=26291&r1=26290&r2=26291&view=diff
==============================================================================
--- trunk/gui/controller.py     (original)
+++ trunk/gui/controller.py     Wed Oct 15 17:57:52 2014
@@ -795,7 +795,7 @@
         sel = self.find_data.GetFindString()
 
         # The search flags.
-        flags = event.GetFlags()
+        flags = self.find_data.GetFlags()
 
         # Shift the search anchor 1 character forwards (if not at the end) 
to ensure the next instance is found.
         pos = self.GetCurrentPos()




Related Messages


Powered by MHonArc, Updated Wed Oct 15 18:40:02 2014