Changeset 73fb503 in sasview
- Timestamp:
- Mar 28, 2019 12:08:56 PM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_opencl
- Children:
- c7e73e7
- Parents:
- b016f17
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rb8bdbcc r73fb503 2039 2039 if not self.data_is_loaded: 2040 2040 self.createDefaultDataset() 2041 self.smearing_widget.updateData(self.data) 2041 2042 self.calculateQGridForModel() 2042 2043 -
src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py
re900a47 r73fb503 115 115 Update control elements based on data and model passed 116 116 """ 117 # retain the index 118 cur_index = self.cbSmearing.currentIndex() 117 119 self.cbSmearing.clear() 118 120 self.cbSmearing.addItem("None") … … 123 125 model = self.kernel_model 124 126 self.updateKernelModel(model) 127 # already has the required setup so modify the index 128 self.cbSmearing.setCurrentIndex(cur_index) 125 129 126 130 def updateKernelModel(self, kernel_model=None):
Note: See TracChangeset
for help on using the changeset viewer.