Changeset 441a03f in sasview for src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
- Timestamp:
- Mar 28, 2018 2:45:01 PM (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:
- edd6720
- Parents:
- b685c7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
rb685c7b r441a03f 152 152 153 153 self.backgroundInput.editingFinished.connect( 154 lambda: self. _calculator.set_background(is_float(self.backgroundInput.text())))154 lambda: self.set_background(is_float(self.backgroundInput.text()))) 155 155 self.minQInput.editingFinished.connect( 156 156 lambda: self._calculator.set_qmin(is_float(self.minQInput.text()))) … … 317 317 self._calculator.set_y(self._data_set.y) 318 318 self._calculator.set_err(self._data_set.dy) 319 self.set_background(self.backgroundInput.text()) 320 321 def set_background(self, value): 322 self._calculator.background = is_float(value) 319 323 320 324 def model_changed(self): … … 359 363 self.backgroundInput.setEnabled(False) 360 364 self._calculator.set_est_bck = True 361 el se:365 elif sender is self.manualBgd: 362 366 self.backgroundInput.setEnabled(True) 363 367 self._calculator.set_est_bck = False 368 else: 369 pass 364 370 365 371 def openExplorerWindow(self):
Note: See TracChangeset
for help on using the changeset viewer.