Changeset ebcdb02 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Nov 8, 2018 5:01:08 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
133812c7
Parents:
be74751
Message:

Analysis only for Fitting, project save on other perspectives saves
datasets. Fixed tab deletion on data removal for batch tabs.

Location:
src/sas/qtgui/MainWindow
Files:
2 edited

Legend:

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

    rbe74751 rebcdb02  
    527527            if new_data.is_data: 
    528528                model = self.model 
     529                # Caption for the theories 
     530                new_item.setChild(2, QtGui.QStandardItem("FIT RESULTS")) 
     531 
    529532            model.appendRow(new_item) 
    530533            self.manager.add_data(data_list={new_data.id:new_data}) 
  • src/sas/qtgui/MainWindow/GuiManager.py

    rbe74751 rebcdb02  
    570570 
    571571        # fit tabs 
    572         params = self.perspective().serializeAllFitpage() 
     572        params={} 
     573        perspective = self.perspective() 
     574        if hasattr(perspective, 'isSerializable') and perspective.isSerializable(): 
     575            params = perspective.serializeAllFitpage() 
    573576 
    574577        # project dictionary structure: 
Note: See TracChangeset for help on using the changeset viewer.