Changeset 0bb1397 in sasview


Ignore:
Timestamp:
Oct 25, 2017 5:07:24 AM (7 years ago)
Author:
krzywon
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
Message:

Rename method for clarity and bug fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/GPUOptions.py

    rced1bff r0bb1397  
    9595            self.sas_open_cl = None 
    9696 
    97     def set_open_cl(self): 
     97    def set_sas_open_cl(self): 
    9898        """ 
    9999        Set openCL value when tests run or OK button clicked 
     
    118118        """ 
    119119 
    120         no_opencl_msg = self.set_open_cl() 
     120        no_opencl_msg = self.set_sas_open_cl() 
    121121 
    122122        # Only import when tests are run 
     
    197197        Close the window after modifying the SAS_OPENCL value 
    198198        """ 
    199         self.set_open_cl() 
    200         super(GPUOptions, self).reject() 
     199        self.set_sas_open_cl() 
     200        self.closeEvent(None) 
    201201 
    202202    def closeEvent(self, event): 
     
    205205        """ 
    206206        self.close() 
    207         self.parent.gpu_options_widget = GPUOptions(self) 
     207        self.parent.gpu_options_widget = GPUOptions(self.parent) 
    208208 
    209209 
Note: See TracChangeset for help on using the changeset viewer.