Changeset 3cd840f in sasview for src/sas/perspectives
- Timestamp:
- Apr 27, 2015 6:30:36 PM (10 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:
- 5265420
- Parents:
- 373d4ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fitpage.py
r373d4ee r3cd840f 2183 2183 2184 2184 """ 2185 if self.model == None:2186 self.disable_smearer.SetValue(True)2187 if event == None:2188 return2189 msg = "Please select a Model first..."2190 wx.MessageBox(msg, 'Info')2191 wx.PostEvent(self._manager.parent,2192 StatusEvent(status="Smear: %s" % msg))2193 return2194 2185 # Need update param values 2195 2186 self._update_paramv_on_fit() … … 2365 2356 are compute when fitting 2366 2357 """ 2367 if self.model == None:2368 self.disable_smearer.SetValue(True)2369 if event == None:2370 return2371 msg = "Please select a Model first..."2372 wx.MessageBox(msg, 'Info')2373 wx.PostEvent(self._manager.parent,2374 StatusEvent(status="Smear: %s" % msg))2375 return2376 2377 2358 # Need update param values 2378 2359 self._update_paramv_on_fit() … … 2539 2520 return 2540 2521 2541 if self.model == None:2542 self.disable_smearer.SetValue(True)2543 if event == None:2544 return2545 msg = "Please select a Model first..."2546 wx.MessageBox(msg, 'Info')2547 wx.PostEvent(self._manager.parent,2548 StatusEvent(status="Smear: %s" % msg))2549 return2550 2522 # Need update param values 2551 2523 self._update_paramv_on_fit()
Note: See TracChangeset
for help on using the changeset viewer.