Changeset 94b4cf78 in sasview for sansview


Ignore:
Timestamp:
Jun 22, 2011 4:11:39 PM (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:
f4bbb07
Parents:
7e05460
Message:

remove not working foregroundcolor for fit button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r7e05460 r94b4cf78  
    10191019        if self.btFit.GetLabel().lower() == "stop": 
    10201020            self.fit_started = True 
    1021             self.btFit.SetForegroundColour('red') 
     1021            if not self.is_mac: 
     1022                self.btFit.SetForegroundColour('red') 
    10221023            self.btFit.Bind(event=wx.EVT_BUTTON, handler=self._StopFit, 
    10231024                             id=self.btFit.GetId()) 
     
    10251026            self.fit_started = False 
    10261027            self.btFit.SetDefault() 
    1027             self.btFit.SetForegroundColour('black') 
     1028            if not self.is_mac: 
     1029                self.btFit.SetForegroundColour('black') 
    10281030            #self.btFit.SetBackgroundColour(self.default_bt_colour) 
    10291031            self.btFit.Bind(event=wx.EVT_BUTTON, handler=self._onFit,  
Note: See TracChangeset for help on using the changeset viewer.