Ignore:
Timestamp:
Mar 11, 2011 12:14:57 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:
a3149c5
Parents:
aae7a8d
Message:

update plugin

File:
1 edited

Legend:

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

    rae4ade7 rb2d9826  
    4242        #dictionary of miodel {model class name, model class} 
    4343        self.menu_mng = models.ModelManager() 
    44         self.model_list_box = self.menu_mng.get_model_list().get_list() 
     44        self.model_list_box = self.menu_mng.get_model_list() 
    4545        #pageClosedEvent = fnb.EVT_FLATNOTEBOOK_PAGE_CLOSING  
    4646        self.Bind(fnb.EVT_FLATNOTEBOOK_PAGE_CLOSING , self.on_close_page) 
     
    6060        self.add_default_pages() 
    6161     
     62    def update_model_list(self): 
     63        """ 
     64        """ 
     65        self.model_list_box = self.menu_mng.update() 
     66        return self.model_list_box 
     67         
     68         
    6269    def get_page_by_id(self, id):   
    6370        """ 
Note: See TracChangeset for help on using the changeset viewer.