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()


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to