Changeset 6b59bb3 in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Dec 1, 2016 4:11:51 AM (8 years ago)
- Children:
- fbfed45
- Parents:
- c027106e
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitting.py
r16c1297 r6b59bb3 812 812 import sas.sasgui.perspectives.fitting.gpu_options as GpuOptions 813 813 dialog = GpuOptions.GpuOptions(None, -1, "") 814 dialog.Show Modal()814 dialog.Show() 815 815 816 816 def stop_fit(self, uid): -
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.