Changeset 0bb1397 in sasview for src/sas/qtgui/Perspectives/Fitting/GPUOptions.py
- Timestamp:
- Oct 25, 2017 5:07:24 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:
- 37be27f
- Parents:
- ced1bff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/GPUOptions.py
rced1bff r0bb1397 95 95 self.sas_open_cl = None 96 96 97 def set_ open_cl(self):97 def set_sas_open_cl(self): 98 98 """ 99 99 Set openCL value when tests run or OK button clicked … … 118 118 """ 119 119 120 no_opencl_msg = self.set_ open_cl()120 no_opencl_msg = self.set_sas_open_cl() 121 121 122 122 # Only import when tests are run … … 197 197 Close the window after modifying the SAS_OPENCL value 198 198 """ 199 self.set_ open_cl()200 s uper(GPUOptions, self).reject()199 self.set_sas_open_cl() 200 self.closeEvent(None) 201 201 202 202 def closeEvent(self, event): … … 205 205 """ 206 206 self.close() 207 self.parent.gpu_options_widget = GPUOptions(self )207 self.parent.gpu_options_widget = GPUOptions(self.parent) 208 208 209 209
Note: See TracChangeset
for help on using the changeset viewer.