Author: bugman
Date: Wed Feb  4 16:28:04 2015
New Revision: 27515

URL: http://svn.gna.org/viewcvs/relax?rev=27515&view=rev
Log:
Fix for the GUI wizard _go_next() method.

The way to determine if there are no more pages needs to be changed, as there 
are now no empty list
elements at the end of the wizard storage objects.


Modified:
    trunk/gui/wizards/wiz_objects.py

Modified: trunk/gui/wizards/wiz_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/wizards/wiz_objects.py?rev=27515&r1=27514&r2=27515&view=diff
==============================================================================
--- trunk/gui/wizards/wiz_objects.py    (original)
+++ trunk/gui/wizards/wiz_objects.py    Wed Feb  4 16:28:04 2015
@@ -648,7 +648,7 @@
         next_page = self._seq_fn_list[self._current_page]()
 
         # No next page, so terminate.
-        if self._pages[next_page] == None:
+        if next_page >= len(self._pages):
             self._ok(None)
             return
 


_______________________________________________
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