Changeset d6e38661 in sasview
- Timestamp:
- Apr 5, 2018 8:32:38 AM (7 years ago)
- 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:
- ded5e77, 01ef3f7
- Parents:
- bb57068
- Location:
- src/sas/qtgui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r8ac3551 rd6e38661 1133 1133 # Check if there are any other items for this tab 1134 1134 # If so, delete them 1135 # TODO: fix this to resemble GuiUtils.updateModelItemWithPlot 1136 # 1137 ##self.model.beginResetModel() 1138 ##current_tab_name = model_item.text()[:2] 1139 ##for current_index in range(self.theory_model.rowCount()): 1135 current_tab_name = model_item.text() 1136 for current_index in range(self.theory_model.rowCount()): 1140 1137 #if current_tab_name in self.theory_model.item(current_index).text(): 1141 # return 1142 ## self.theory_model.removeRow(current_index) 1143 ## break 1144 1145 ### Reset the view 1146 ##self.model.endResetModel() 1147 1148 # Reset the view 1138 if current_tab_name == self.theory_model.item(current_index).text(): 1139 return 1140 self.theory_model.removeRow(current_index) 1141 break 1142 1143 # send in the new item 1149 1144 self.theory_model.appendRow(model_item) 1150 1151 # Pass acting as a debugger anchor1152 pass1153 1145 1154 1146 -
src/sas/qtgui/Perspectives/Fitting/FittingLogic.py
- Property mode changed from 100755 to 100644
rb3e8629 rd6e38661 126 126 127 127 new_plot.group_id = data.group_id 128 new_plot.id = str(tab_id) + " " + data.name 129 new_plot.name = model.name + " [" + data.name + "]" 128 new_plot.id = str(tab_id) + " " + model.id 129 130 if data.filename: 131 new_plot.name = model.name + " [" + data.filename + "]" # data file 132 else: 133 new_plot.name = model.name + " [" + model.id + "]" # theory 134 130 135 new_plot.title = new_plot.name 131 136 new_plot.xaxis(_xaxis, _xunit) -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r8b480d27 rd6e38661 1957 1957 self.updateModelIndex(fitted_data) 1958 1958 else: 1959 name = self.nameForFittedData(self.kernel_module. name)1959 name = self.nameForFittedData(self.kernel_module.id) 1960 1960 fitted_data.title = name 1961 1961 fitted_data.name = name
Note: See TracChangeset
for help on using the changeset viewer.