Changeset 60d08fd in sasview for src/sas


Ignore:
Timestamp:
Jun 30, 2015 1:41:31 PM (9 years ago)
Author:
gonzalezm
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:
f7d2f4a
Parents:
f4c0513
Message:

Corrected bug affecting color of parameter errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/fitpage.py

    r2b58fa5 r60d08fd  
    21982198                            if numpy.isfinite(float(cov[ind])): 
    21992199                                val_err = format_number(cov[ind], True) 
     2200                                item[4].SetForegroundColour(wx.BLACK) 
    22002201                            else: 
    22012202                                val_err = 'NaN' 
     2203                                item[4].SetForegroundColour(wx.RED) 
    22022204                            if not self.is_mac: 
    22032205                                item[3].Show(True) 
    22042206                                item[4].Show(True) 
    2205                                 item[4].SetForegroundColour(wx.RED) 
    22062207                            item[4].SetValue(val_err) 
    22072208                            has_error = True 
Note: See TracChangeset for help on using the changeset viewer.