Changeset c399004 in sasview


Ignore:
Timestamp:
Mar 10, 2011 5:32:53 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:
c9937c0
Parents:
a5701e6
Message:

working on toogle 1D\2D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    ra5701e6 rc399004  
    270270        for data in selected_data_list: 
    271271            self.add_fit_page(data=data) 
    272          
    273272            wx.PostEvent(self.parent, NewPlotEvent(plot=data,  
    274273                                                   title=str(data.title))) 
     
    661660                    if group_id in theory_data.group_id: 
    662661                        theory_data.group_id.remove(group_id) 
    663                         theory_data.group_id.append(wx.NewId()) 
    664                     group_id = theory_data.group_id[len(theory_data.group_id)-1] 
    665                     if group_id not in data.group_id: 
    666                         data.group_id.append(group_id) 
     662                    data_group_id = theory_data.group_id[len(theory_data.group_id)-1] 
     663                    if data_group_id not in data.group_id: 
     664                        data.group_id.append(data_group_id) 
    667665                    wx.PostEvent(self.parent,  
    668666                             NewPlotEvent(group_id=group_id, 
     
    11511149                theory_data = self.page_finder[id].get_theory_data() 
    11521150                if theory_data is not None: 
    1153                     temp_id = theory_data.id 
    1154                     new_plot.id = temp_id 
     1151                    new_plot.id = theory_data.id 
    11551152              
    11561153            new_plot.name = model.name + " ["+ str(model.__class__.__name__)+ "]" 
Note: See TracChangeset for help on using the changeset viewer.