Changeset 2204dc5 in sasview for src/sas/sasgui


Ignore:
Timestamp:
Aug 12, 2016 4:43:20 AM (8 years ago)
Author:
lewis
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a78890d
Parents:
25b9707a
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 r2204dc5  
    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.