Author: bugman Date: Thu Jun 23 20:53:56 2011 New Revision: 13202 URL: http://svn.gna.org/viewcvs/relax?rev=13202&view=rev Log: Fix for the apply button flag to the add_page() wizard method. The flag was being appended, but the list was already created. Modified: branches/gui_testing/gui/wizard.py Modified: branches/gui_testing/gui/wizard.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13202&r1=13201&r2=13202&view=diff ============================================================================== --- branches/gui_testing/gui/wizard.py (original) +++ branches/gui_testing/gui/wizard.py Thu Jun 23 20:53:56 2011 @@ -938,7 +938,7 @@ self._page_sizers[index].Add(self._button_sizers[index], 0, wx.ALIGN_RIGHT|wx.ALL, 0) # Store the apply button flag. - self._button_apply_flag.append(apply_button) + self._button_apply_flag[index] = apply_button # Store the index of the page. panel.page_index = self._num_pages - 1