Changeset fe9cb70e in sasview for fittingview
- Timestamp:
- Jun 4, 2012 3:27:30 PM (13 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:
- 0371eae
- Parents:
- ed09638
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/simfitpage.py
r7c720e9 rfe9cb70e 658 658 ctl2 = item[3] 659 659 if ctl2.GetValue().lstrip().rstrip() == "": 660 model = param_cbox.GetClientData(param_cbox.GetCurrentSelection()) 661 msg = " Enter a constraint for %s.%s! "%(model.name, 660 model = param_cbox.GetClientData(\ 661 param_cbox.GetCurrentSelection()) 662 if model != None: 663 msg = " Enter a constraint for %s.%s! "%(model.name, 662 664 param_cbox.GetString(0)) 665 else: 666 msg = " Enter a constraint" 663 667 wx.PostEvent(self.parent.parent, StatusEvent(status=msg)) 664 668 return … … 707 711 if self.batch_on: 708 712 if self.sizer2.IsShown(): 709 self.sizer2. Hide()713 self.sizer2.Show(False) 710 714 return 711 715 box_description= wx.StaticBox(self, -1, "Fit Constraints")
Note: See TracChangeset
for help on using the changeset viewer.