Changeset 00ea2a7 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Jun 20, 2011 6:00:10 PM (13 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:
f6aee42
Parents:
0fb74ef
Message:

allows set multiple model with one data set: caution may produce a bug

File:
1 edited

Legend:

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

    r7b3bbbe r00ea2a7  
    382382                    self.SetSelection(pos) 
    383383                    return page 
    384                  
     384            # Todo: Need to set different window name when has same data 
     385            # Todo: to catch page with same data even if it is not on the top. 
     386            """ 
    385387            elif page.get_data().id == data.id: 
    386388                msg = "Data already existing in the fitting panel" 
    387389                wx.PostEvent(self._manager.parent,  
    388                              StatusEvent(status=msg, info='warning'))   
     390                             StatusEvent(status=msg, info='warning'))  
    389391                self.SetSelection(pos) 
    390392                return page 
    391          
     393            """ 
    392394        page = self.add_empty_page() 
    393395        pos = self.GetPageIndex(page) 
Note: See TracChangeset for help on using the changeset viewer.