Changes in / [132f3d6:8eb9043] in sasview
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitpage.py
r1bcc48d rd85f1d8a 1239 1239 mod_cat = self.categorybox.GetStringSelection() 1240 1240 if mod_cat == custom_model: 1241 ################This is where the model dies###############1242 temp_id = self.model.id1243 1241 temp = self.parent.update_model_list() 1244 for v in self.parent.model_dictionary.values():1245 if v.id == temp_id:1246 self.model = v()1247 1242 if temp: 1248 1243 self.model_list_box = temp -
src/sas/sasgui/perspectives/fitting/models.py
r1bcc48d re92a352 321 321 if len(new_plugins) > 0: 322 322 for name, plug in new_plugins.iteritems(): 323 self.stored_plugins[name] = plug 324 self.plugins.append(plug) 325 self.model_dictionary[name] = plug 323 if name not in self.stored_plugins.keys(): 324 self.stored_plugins[name] = plug 325 self.plugins.append(plug) 326 self.model_dictionary[name] = plug 326 327 self.model_combobox.set_list("Plugin Models", self.plugins) 327 328 return self.model_combobox.get_list()
Note: See TracChangeset
for help on using the changeset viewer.