Changeset 9d64310 in sasview


Ignore:
Timestamp:
Jun 14, 2011 11:06:06 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

fixed 2d color map dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/detector_dialog.py

    rfdc690f r9d64310  
    118118        try: 
    119119            value = self.zmin_ctl.GetValue() 
    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() 
     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() 
    129129        except: 
    130130            flag = False 
Note: See TracChangeset for help on using the changeset viewer.