Changeset ecfcef6 in sasview for sansview/perspectives/fitting/fitpage.py
- Timestamp:
- Apr 27, 2011 1:07:22 PM (14 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:
- 6c62407
- Parents:
- 56d5562
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r270e240 recfcef6 938 938 """ 939 939 if self.data is None: 940 msg = "Please select aData first..."940 msg = "Please get Data first..." 941 941 wx.MessageBox(msg, 'Info') 942 942 wx.PostEvent(self._manager.parent, StatusEvent(status=\ … … 949 949 "Fit: %s"%msg, type="stop")) 950 950 return 951 951 952 if len(self.param_toFit) <= 0: 953 msg= "Select at least one parameter to fit" 954 wx.MessageBox(msg, 'Info') 955 wx.PostEvent(self._manager.parent, StatusEvent(status= msg, 956 type="stop" )) 957 return 958 952 959 flag = self._update_paramv_on_fit() 953 960 … … 957 964 type="stop")) 958 965 return 959 960 if len(self.param_toFit) <= 0: 961 msg= "Select at least one parameter to fit" 962 wx.PostEvent(self.parent.parent, StatusEvent(status= msg, 963 type="stop" )) 964 return 965 966 966 967 self.select_param(event =None) 967 968 … … 1021 1022 self._on_select_model_helper() 1022 1023 self.set_model_param_sizer(self.model) 1023 1024 1024 if self.model is None: 1025 1025 self._set_bookmark_flag(False) … … 2524 2524 wx.EVT_CHECKBOX(self, self.cb1.GetId(), self.select_all_param) 2525 2525 self.cb1.SetToolTipString("To check/uncheck all the boxes below.") 2526 #self.cb1.SetValue(True)2526 self.cb1.SetValue(True) 2527 2527 2528 2528 sizer.Add(self.cb1,(iy, ix),(1,1),\
Note: See TracChangeset
for help on using the changeset viewer.