Changeset 9ade6ad in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Jun 20, 2011 7:51:19 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:
4356634
Parents:
f6aee42
Message:

removed resetting fit-error value w/"" before setting results

File:
1 edited

Legend:

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

    rf6aee42 r9ade6ad  
    13151315        """ 
    13161316        if self.is_mac: 
    1317             if len(self.parameters)>0: 
    1318                 for item in self.parameters: 
    1319                     #Skip t ifhe angle parameters if 1D data 
    1320                     if self.data.__class__.__name__ !=  "Data2D" and \ 
    1321                             not self.enable2D: 
    1322                         if item in self.orientation_params: 
    1323                             continue 
    1324                     ## hide statictext +/-     
    1325                     if len(item) < 4 : 
    1326                         continue 
    1327                     ## reset value with '' 
    1328                     if item[4]!=None and item[4].IsShown():                    
    1329                         item[4].SetValue("") 
    13301317            return 
    1331          
    13321318        if hasattr(self,"text2_3"): 
    13331319            self.text2_3.Hide() 
Note: See TracChangeset for help on using the changeset viewer.