mailr13202 - /branches/gui_testing/gui/wizard.py


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

Header


Content

Posted by edward on June 23, 2011 - 20:53:
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




Related Messages


Powered by MHonArc, Updated Thu Jun 23 21:00:02 2011