Changeset 1328e03 in sasview for sansview/perspectives/fitting/modelpage.py
- Timestamp:
- Apr 1, 2009 1:02:56 PM (15 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 9d4e502
- Parents:
- db39b2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/modelpage.py
r59a7f2d r1328e03 86 86 self.npts.SetValue(format_number(self.num_points)) 87 87 self.npts.SetToolTipString("Number of point to plot.") 88 self.npts.Bind(wx.EVT_ KILL_FOCUS, self._onparamEnter)88 self.npts.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 89 89 self.npts.Bind(wx.EVT_TEXT_ENTER, self._onparamEnter) 90 90 … … 169 169 170 170 ctl1.SetValue(str (format_number(value))) 171 ctl1.Bind(wx.EVT_ KILL_FOCUS, self._onparamEnter)171 ctl1.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 172 172 ctl1.Bind(wx.EVT_TEXT_ENTER,self._onparamEnter) 173 173 self.sizer4_4.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) … … 183 183 184 184 Tctl1.SetValue(str (format_number(value))) 185 Tctl1.Bind(wx.EVT_ KILL_FOCUS, self._onparamEnter)185 Tctl1.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 186 186 Tctl1.Bind(wx.EVT_TEXT_ENTER,self._onparamEnter) 187 187 self.sizer4_4.Add(Tctl1, (iy,ix),(1,1), … … 198 198 style=wx.TE_PROCESS_ENTER) 199 199 Tctl2.SetValue(str (format_number(value))) 200 Tctl2.Bind(wx.EVT_ KILL_FOCUS, self._onparamEnter)200 Tctl2.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 201 201 Tctl2.Bind(wx.EVT_TEXT_ENTER,self._onparamEnter) 202 202 self.sizer4_4.Add(Tctl2, (iy,ix),(1,1), … … 383 383 384 384 ctl1.SetValue(str (format_number(value))) 385 ctl1.Bind(wx.EVT_ KILL_FOCUS, self._onparamEnter)385 ctl1.Bind(wx.EVT_SET_FOCUS, self.onSetFocus) 386 386 ctl1.Bind(wx.EVT_TEXT_ENTER,self._onparamEnter) 387 387 388 sizer.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) 388 389
Note: See TracChangeset
for help on using the changeset viewer.