Changeset fbfed45 in sasview for src/sas/sasgui/perspectives/fitting


Ignore:
Timestamp:
Dec 1, 2016 6:11:56 AM (8 years ago)
Author:
wojciech
Children:
bacc04b
Parents:
6b59bb3
Message:

Setting 0 values at setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/gpu_options.py

    r6b59bb3 rfbfed45  
    3737        for index, clopt in enumerate(clinfo): 
    3838            button = wx.RadioButton(self.panel1, -1, label=clopt, name=clopt) 
     39            button.SetValue(0) 
    3940            if clopt != "No OpenCL": 
    4041                self.option_button[clopt] = str(index) 
    4142            else: 
    4243                self.option_button[clopt] = "None" 
    43             self.Bind(wx.EVT_LEFT_DOWN, self.on_radio_default, id=button.GetId()) 
    4444            self.Bind(wx.EVT_RADIOBUTTON, self.on_radio, id=button.GetId()) 
    4545            boxsizer.Add(button, 0, 0) 
Note: See TracChangeset for help on using the changeset viewer.