- Timestamp:
- Aug 22, 2016 12:00:01 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 245ae18
- Parents:
- 338d6ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r6ffa0dd reb886c2 197 197 if warning_msg != "": 198 198 warning_msg += "\n" 199 warning_msg += "Background value enteredresults in negative Intensity values."199 warning_msg += "Background value results in negative Intensity values." 200 200 if warning_msg != "": 201 dlg = wx.MessageDialog(self.parent.parent, warning_msg, caption="Warning", style=wx.ICON_EXCLAMATION) 202 dlg.ShowModal() 203 dlg.Destroy() 201 self._background_input.SetBackgroundColour('yellow') 202 wx.PostEvent(self._manager.parent, StatusEvent(status=warning_msg, info='warning')) 203 else: 204 self._background_input.SetBackgroundColour(wx.WHITE) 205 self._background_input.Refresh() 204 206 205 207 self._calculator.set_data(self._data)
Note: See TracChangeset
for help on using the changeset viewer.