Changeset 7988501 in sasview for src/sas/sasgui/perspectives/fitting/fitpage.py
- Timestamp:
- Oct 8, 2016 2:34:03 PM (8 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 51a4d78
- Parents:
- 6df015de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitpage.py
r6df015de r7988501 98 98 def onTrafo(self, event): 99 99 """ 100 On Weighting radio button event, sets the weightbt_string100 On Trafo radio button event, sets the Trafobt_string 101 101 """ 102 102 self.Trafobt_string = event.GetEventObject().GetLabelText() … … 120 120 self.no_transform = wx.RadioButton(self, wx.ID_ANY, 121 121 'None', style=wx.RB_GROUP) 122 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 123 id=self.no_transform.GetId()) 122 123 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 124 # id=self.no_transform.GetId()) 124 125 self.hankel = wx.RadioButton(self, wx.ID_ANY, 125 126 'Hankel') 126 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo,127 id=self.hankel.GetId())127 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 128 # id=self.hankel.GetId()) 128 129 self.cosine = wx.RadioButton(self, wx.ID_ANY, 129 130 'Cosine') 130 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo,131 id=self.cosine.GetId())131 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 132 # id=self.cosine.GetId()) 132 133 133 134 #Not sure about this (only once though)
Note: See TracChangeset
for help on using the changeset viewer.