Changeset 72637e8 in sasview
- Timestamp:
- Feb 9, 2009 11:42:01 AM (16 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:
- a69e233
- Parents:
- 2e9b98c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
r4cb07c0 r72637e8 278 278 self.model=None 279 279 #dictionary of model name and model class 280 self.model_list_box={} 281 282 280 self.model_list_box={} 281 282 if self.model == None: 283 self.qmin.Disable() 284 self.qmax.Disable() 285 else: 286 self.qmin.Enable() 287 self.qmax.Enable() 288 283 289 284 290 self.vbox.Layout() … … 369 375 self.Layout() 370 376 self.parent.GetSizer().Layout() 377 371 378 for item in self.model_list_box.itervalues(): 372 379 name = item.__name__ … … 374 381 name = item.name 375 382 #print "fitpage: _on_select_model model name",name ,event.GetString() 383 if name == None: 384 self.qmin.Disable() 385 self.qmax.Disable() 386 else: 387 self.qmin.Enable() 388 self.qmax.Enable() 389 376 390 if name ==event.GetString(): 377 391 try:
Note: See TracChangeset
for help on using the changeset viewer.