Changeset 72323d1 in sasview for sansview/perspectives


Ignore:
Timestamp:
Mar 23, 2011 12:17: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:
bffa3d0
Parents:
71bd773
Message:

updating model in datapanel

File:
1 edited

Legend:

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

    r05319e2 r72323d1  
    11941194            self.page_finder[page_id].set_theory_data(new_plot) 
    11951195            if data is None: 
    1196                 data_id = new_plot.id 
     1196                data_id = None 
    11971197            else: 
    11981198                data_id = data.id 
    1199             
    12001199            self.parent.update_theory(data_id=data_id,  
    12011200                                       theory=new_plot, 
     
    12771276        self.page_finder[page_id].set_theory_data(new_plot) 
    12781277        if data is None: 
    1279             data_id = new_plot.id 
     1278            data_id = None 
    12801279        else: 
    12811280            data_id = data.id 
Note: See TracChangeset for help on using the changeset viewer.