Changeset 6b59bb3 in sasview for src/sas/sasgui/perspectives/fitting/gpu_options.py
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/gpu_options.py
rc027106e r6b59bb3 41 41 else: 42 42 self.option_button[clopt] = "None" 43 self.Bind(wx.EVT_LEFT_DOWN, self.on_radio_default, id=button.GetId()) 43 44 self.Bind(wx.EVT_RADIOBUTTON, self.on_radio, id=button.GetId()) 44 45 boxsizer.Add(button, 0, 0) … … 90 91 return clinfo 91 92 93 def on_radio_default(self, event): 94 event.GetEventObject().SetValue(not event.GetEventObject().GetValue()) 95 92 96 def on_radio(self, event): 93 97 """
Note: See TracChangeset
for help on using the changeset viewer.