Author: bugman Date: Wed Feb 4 16:35:58 2015 New Revision: 27516 URL: http://svn.gna.org/viewcvs/relax?rev=27516&view=rev Log: Another fix for the now variable sized wizard page list. This time the fix is in the GUI user function __call__() method. Modified: trunk/gui/uf_objects.py Modified: trunk/gui/uf_objects.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/uf_objects.py?rev=27516&r1=27515&r2=27516&view=diff ============================================================================== --- trunk/gui/uf_objects.py (original) +++ trunk/gui/uf_objects.py Wed Feb 4 16:35:58 2015 @@ -195,7 +195,7 @@ self._sync = wx_wizard_sync # Create a new wizard if needed (checking that the parent of an old wizard is not the same). - if self.wizard == None or (wx_parent != None and wx_parent != self.wizard.GetParent()) or self.wizard._pages[0] == None: + if self.wizard == None or (wx_parent != None and wx_parent != self.wizard.GetParent()) or len(self.wizard._pages) == 0: status = self.create_wizard(wx_parent) if not status: return False