Changeset 1729738 in sasview


Ignore:
Timestamp:
Sep 15, 2016 8:33:57 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
0663a957
Parents:
b742b2b9
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (08/12/16 04:43:20)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
Message:

Don't reuse WX IDs in Plotter1D sub-menu (fixes #617)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py

    rd85c194 r1729738  
    597597                # zip() is set up to stop when any iterator is empty, so it 
    598598                # only asks for the number of ids in item_list. 
    599                 for item, wx_id in zip(item_list, self._menu_ids): 
     599                for item, wx_id in zip(item_list, [ids.next() for i in range(len(item_list))]): 
    600600 
    601601                    try: 
Note: See TracChangeset for help on using the changeset viewer.