Ignore:
Timestamp:
Sep 20, 2012 1:22:02 PM (12 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:
bda809e
Parents:
b71a53b
Message:

category stuffs start working in interp. environment

File:
1 edited

Legend:

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

    rdf7a7e3 rea5fa58  
    679679        self.stored_plugins = self.findModels() 
    680680        self.plugins = self.stored_plugins.values() 
    681  
     681        for name, plug in self.stored_plugins.iteritems(): 
     682            self.model_dictionary[name] = plug 
     683             
    682684        self._get_multifunc_models() 
    683685        
     
    710712                    self.stored_plugins[name] = plug 
    711713                    self.plugins.append(plug) 
     714                    self.model_dictionary[name] = plug 
    712715            self.model_combobox.set_list("Customized Models", self.plugins) 
    713716            return self.model_combobox.get_list() 
     
    725728                if name == stored_name: 
    726729                    del self.stored_plugins[name] 
     730                    del self.model_dictionary[name] 
    727731                    break 
    728732            self.stored_plugins[name] = plug 
    729733            self.plugins.append(plug) 
     734            self.model_dictionary[name] = plug 
    730735 
    731736        self.model_combobox.reset_list("Customized Models", self.plugins) 
Note: See TracChangeset for help on using the changeset viewer.