Ignore:
Timestamp:
Jun 9, 2017 2:35:37 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
2d0e0c1
Parents:
8eaa101
Message:

Allow rebuilding of the categories file and plugin_models dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    rdc5ef15 r125c4be  
    77 
    88from sas.qtgui.Perspectives.Fitting.FittingWidget import FittingWidget 
     9from sas.qtgui.Perspectives.Fitting import ModelUtilities 
    910 
    1011class FittingWindow(QtGui.QTabWidget): 
     
    4344        # Perspective window not allowed to close by default 
    4445        self._allow_close = False 
     46 
     47        self.menu_manager = ModelUtilities.ModelManager() 
     48        # TODO: reuse these in FittingWidget properly 
     49        self.model_list_box = self.menu_manager.get_model_list() 
     50        self.model_dictionary = self.menu_manager.get_model_dictionary() 
    4551 
    4652        self.setWindowTitle('Fit panel - Active Fitting Optimizer: %s' % self.optimizer) 
Note: See TracChangeset for help on using the changeset viewer.