Changes in src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py [8b480d27:e4c475b7] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r8b480d27 re4c475b7 111 111 112 112 # Disconnect all local slots 113 #tab_object.disconnect()113 tab_object.disconnect() 114 114 115 115 # Reconnect tab signals to local slots … … 171 171 # No such tab! 172 172 return 173 sim_fitter_list, fitter_id = \ 174 tab_object.prepareFitters(fitter=sim_fitter_list[0], fit_id=fitter_id) 173 sim_fitter_list, fitter_id = tab_object.prepareFitters(fitter=sim_fitter_list[0], fit_id=fitter_id) 175 174 page_ids.append([tab_object.page_id]) 176 175 except ValueError: … … 179 178 "Not all tabs chosen for fitting have parameters selected for fitting." 180 179 QtWidgets.QMessageBox.warning(self, 181 'Warning',182 no_params_msg,183 QtWidgets.QMessageBox.Ok)180 'Warning', 181 no_params_msg, 182 QtWidgets.QMessageBox.Ok) 184 183 185 184 return … … 675 674 676 675 constraint.func = constraint_text 677 # param1 is the parameter we're constraining678 676 constraint.param = param1 679 680 677 # Find the right tab 681 678 constrained_tab = self.getObjectByName(model1)
Note: See TracChangeset
for help on using the changeset viewer.