Changeset 3090270 in sasview for src


Ignore:
Timestamp:
Sep 8, 2018 9:25:02 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
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:
c8536d6c
Parents:
99ce461
Message:

ensure number of shells is updated in underlying model

File:
1 edited

Legend:

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

    r0cd98a1 r3090270  
    28172817        self.current_shell_displayed = index 
    28182818 
     2819        # Change 'n' in the parameter model, thereby updating the underlying model 
     2820        self._model_model.item(self._n_shells_row, 1).setText(str(index)) 
     2821 
    28192822        # Update relevant models 
    28202823        self.setPolyModel() 
Note: See TracChangeset for help on using the changeset viewer.