Changeset 0764593 in sasview for src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
- Timestamp:
- Jan 23, 2018 2:20:45 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:
- eb1a386
- Parents:
- ba01ad1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
- Property mode changed from 100755 to 100644
rba01ad1 r0764593 66 66 self.txtName2.setText(self.tab_names[1]) 67 67 68 # Show only parameters not already constrained 68 69 self.cbParam1.clear() 69 self.cbParam1.addItems(self.params[0]) 70 items = [param for i,param in enumerate(self.params[0]) if not self.tabs[0].rowHasConstraint(i)] 71 self.cbParam1.addItems(items) 70 72 self.cbParam2.clear() 71 self.cbParam2.addItems(self.params[1]) 73 items = [param for i,param in enumerate(self.params[1]) if not self.tabs[1].rowHasConstraint(i)] 74 self.cbParam2.addItems(items) 72 75 73 76 self.txtParam.setText(self.tab_names[0] + ":" + self.cbParam1.currentText()) … … 112 115 self.params[1], self.params[0] = self.params[0], self.params[1] 113 116 self.tab_names[1], self.tab_names[0] = self.tab_names[0], self.tab_names[1] 117 self.tabs[1], self.tabs[0] = self.tabs[0], self.tabs[1] 114 118 # Try to swap parameter names in the line edit 115 119 current_text = self.txtConstraint.text()
Note: See TracChangeset
for help on using the changeset viewer.