Changeset d60da0c in sasview


Ignore:
Timestamp:
May 11, 2017 5:20:13 AM (8 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:
ad6b4e2
Parents:
1bc27f1
Message:

Slightly modified behaviour of "Show Plot" to correspond to 4.x SASVIEW-588

Location:
src/sas/qtgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataExplorer.py

    r672b8ab rd60da0c  
    446446        model = self.model if plot_to_show.is_data else self.theory_model 
    447447        plots = GuiUtils.plotsFromFilename(filename, model) 
    448         plots = [(None, plot) for plot in plots] 
    449         self.plotData(plots) 
     448        _ = [self.plotData([(None, plot)]) for plot in plots] 
    450449 
    451450    def addDataPlot2D(self, plot_set, item): 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r1bc27f1 rd60da0c  
    11791179 
    11801180        # Models 
    1181         #self._model_model = fp.model_model 
    1182         #self._poly_model = fp.poly_model 
    1183         #self._magnet_model = fp.magnetism_model 
     1181        self._model_model = fp.model_model 
     1182        self._poly_model = fp.poly_model 
     1183        self._magnet_model = fp.magnetism_model 
    11841184 
    11851185        # Resolution tab 
Note: See TracChangeset for help on using the changeset viewer.