Changeset 9d64310 in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Jun 14, 2011 11:06:06 AM (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:
- 2edc8eb
- Parents:
- 4c65725
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/detector_dialog.py
rfdc690f r9d64310 118 118 try: 119 119 value = self.zmin_ctl.GetValue() 120 if value and float( value) == 0.0:121 flag = False122 wx.PostEvent(self.parent,123 StatusEvent(status="Enter number greater than zero"))124 self.zmin_ctl.SetBackgroundColour("pink")125 self.zmin_ctl.Refresh()126 else:127 128 120 #if value and float( value) == 0.0: 121 # flag = False 122 # wx.PostEvent(self.parent, 123 # StatusEvent(status="Enter number greater than zero")) 124 # self.zmin_ctl.SetBackgroundColour("pink") 125 # self.zmin_ctl.Refresh() 126 #else: 127 self.zmin_ctl.SetBackgroundColour(wx.WHITE) 128 self.zmin_ctl.Refresh() 129 129 except: 130 130 flag = False
Note: See TracChangeset
for help on using the changeset viewer.