Ignore:
Timestamp:
Feb 5, 2017 10:47:14 PM (7 years ago)
Author:
butler
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
11b094f
Parents:
2ab9c432
Message:

replace "Customized Models" with Plugin Models in category lists.
However category manager remains unaware of plugins. Unlike built ins,
plugins list needs to be constantly updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/models.py

    r313c5c9 re92a352  
    324324                    self.plugins.append(plug) 
    325325                    self.model_dictionary[name] = plug 
    326             self.model_combobox.set_list("Customized Models", self.plugins) 
     326            self.model_combobox.set_list("Plugin Models", self.plugins) 
    327327            return self.model_combobox.get_list() 
    328328        else: 
     
    345345            self.model_dictionary[name] = plug 
    346346 
    347         self.model_combobox.reset_list("Customized Models", self.plugins) 
     347        self.model_combobox.reset_list("Plugin Models", self.plugins) 
    348348        return self.model_combobox.get_list() 
    349349 
     
    388388#                                     self.shape_indep_list) 
    389389        self.model_combobox.set_list("Structure Factors", self.struct_list) 
    390         self.model_combobox.set_list("Customized Models", self.plugins) 
     390        self.model_combobox.set_list("Plugin Models", self.plugins) 
    391391        self.model_combobox.set_list("P(Q)*S(Q)", self.multiplication_factor) 
    392392        self.model_combobox.set_list("multiplication", 
Note: See TracChangeset for help on using the changeset viewer.