Ignore:
Timestamp:
Sep 10, 2018 10:51:17 AM (6 years ago)
Author:
piotr
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
343d7fd
Parents:
13dd7d2
Message:

Add orientation_parameters to the update list for polydisp. display in main table. SASVIEW-1013

File:
1 edited

Legend:

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

    r13dd7d2 rf3cc979  
    12191219        if model_column in [delegate.poly_pd, delegate.poly_error, delegate.poly_min, delegate.poly_max]: 
    12201220            row = self.getRowFromName(parameter_name) 
    1221             param_item = self._model_model.item(row) 
     1221            param_item = self._model_model.item(row).child(0).child(0, model_column) 
     1222            if param_item is None: 
     1223                return 
    12221224            self._model_model.blockSignals(True) 
    1223             param_item.child(0).child(0, model_column).setText(item.text()) 
     1225            param_item.setText(item.text()) 
    12241226            self._model_model.blockSignals(False) 
    12251227 
Note: See TracChangeset for help on using the changeset viewer.