Ignore:
Timestamp:
Mar 11, 2011 4:39:00 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
ee2b492
Parents:
14cd91b1
Message:

working on guiframe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/plotting.py

    r2bdb52b re88ebfd  
    108108        new_panel.set_manager(self) 
    109109        new_panel.group_id = group_id 
     110        if group_id not in data.list_group_id: 
     111            data.list_group_id.append(group_id) 
    110112        if title is None: 
    111113            title = data.title 
     
    214216                 
    215217        data = event.plot 
    216         group_id_list = data.group_id 
    217         group_id = None 
    218         if group_id_list: 
    219             group_id = group_id_list[len(group_id_list)-1] 
     218        group_id = data.group_id 
    220219             
    221220        if group_id in self.plot_panels.keys(): 
Note: See TracChangeset for help on using the changeset viewer.