Changeset 2339ff1e in sasview
- Timestamp:
- Aug 23, 2009 5:19:27 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:
- a8d6888
- Parents:
- 44aa1ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/modelpage.py
r4faf4ba r2339ff1e 227 227 if not self.enable2D: 228 228 ctl1.Hide() 229 ctl1.Disable()229 #ctl1.Disable() 230 230 else: 231 231 ctl1.Show(True) 232 ctl1.Enable()232 #ctl1.Enable() 233 233 self.sizer4_4.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) 234 234 self.fittable_param.append([None,name1,ctl1,None, … … 244 244 if not self.enable2D: 245 245 Tctl1.Hide() 246 Tctl1.Disable()246 # Tctl1.Disable() 247 247 else: 248 248 Tctl1.Show(True) 249 Tctl1.Enable()249 #Tctl1.Enable() 250 250 self.sizer4_4.Add(Tctl1, (iy,ix),(1,1), 251 251 wx.EXPAND|wx.ADJUST_MINSIZE, 0) … … 262 262 if not self.enable2D: 263 263 Tctl2.Hide() 264 Tctl2.Disable()264 #Tctl2.Disable() 265 265 else: 266 266 Tctl2.Show(True) 267 Tctl2.Enable()267 #Tctl2.Enable() 268 268 self.sizer4_4.Add(Tctl2, (iy,ix),(1,1), 269 269 wx.EXPAND|wx.ADJUST_MINSIZE, 0) … … 307 307 308 308 self.set_model_param_sizer(self.model) 309 self._set_sizer_dispersion(dispersity)309 #self._set_sizer_dispersion(dispersity) 310 310 311 311 if len(self.orientation_params)>0: … … 571 571 if not self.enable2D: 572 572 ctl1.Hide() 573 ctl1.Disable()573 #ctl1.Disable() 574 574 else: 575 575 ctl1.Show(True) 576 ctl1.Enable()576 #ctl1.Enable() 577 577 578 578 sizer.Add(ctl1, (iy,ix),(1,1), wx.EXPAND)
Note: See TracChangeset
for help on using the changeset viewer.