Changeset b11e127 in sasview


Ignore:
Timestamp:
Feb 14, 2013 9:30:00 AM (11 years ago)
Author:
Jae Cho <jhjcho@…>
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:
9a3b713
Parents:
2acedc8
Message:

removing pre-computation on set data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r318b5bbb rb11e127  
    17601760        flag = False 
    17611761        is_data = False 
     1762        try: 
     1763            old_id = self.data.id 
     1764            old_group_id = self.data.group_id 
     1765        except: 
     1766            old_id = id 
     1767            old_group_id = id 
    17621768        if self.data is not None: 
    17631769            is_data = check_data_validity(self.data) 
     
    18751881            #replace data plot on combo box selection 
    18761882            #by removing the previous selected data 
    1877             #wx.PostEvent(self._manager.parent, 
    1878             #             NewPlotEvent(action="remove", 
    1879             #                          group_id=self.graph_id, id=id)) 
     1883            try: 
     1884                wx.PostEvent(self._manager.parent, 
     1885                             NewPlotEvent(action="remove", 
     1886                                          group_id=old_group_id, id=old_id)) 
     1887            except: 
     1888                pass 
    18801889            #plot the current selected data 
    18811890            wx.PostEvent(self._manager.parent, 
Note: See TracChangeset for help on using the changeset viewer.