Changeset 6c88acd in sasview for calculatorview/src/sans
- Timestamp:
- Jun 13, 2012 7:13:06 PM (12 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:
- 6f65614
- Parents:
- e6f0020
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r365aa1ed r6c88acd 300 300 try: 301 301 float(data2) 302 if self.operator_cbox.GetLabel().strip() == '|': 303 msg = "DataOperation: This operation can not accept " 304 msg += "a float number." 305 self.send_warnings(msg, 'error') 306 self.numberctr.SetBackgroundColour('pink') 307 self.output = None 308 return flag 302 309 except: 303 310 msg = "DataOperation: Number requires a float number." … … 519 526 """ 520 527 521 def send_warnings(self, msg='', info=' '):528 def send_warnings(self, msg='', info='info'): 522 529 """ 523 530 Send warning to status bar
Note: See TracChangeset
for help on using the changeset viewer.