Ignore:
Timestamp:
Apr 6, 2010 4:56:48 PM (13 years ago)
Author:
srkline
Message:

Made preferences a common panel (moved to PlotUtilsMacro?.ipf and globals to root:Packages:NIST:) and added menu items for all packages. Many files had to be modified so that the preferences could be properly accessed

File Open dialog now is set to "All files" so that XML can be selected. I think that all open access that doesn't already have the full path go through this common function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/Schematic.ipf

    r570 r665  
    2929        endif 
    3030         
    31         Variable oldScaling=root:myGlobals:gLogScalingAsDefault 
     31        Variable oldScaling=root:Packages:NIST:gLogScalingAsDefault 
    3232 
    3333        Variable num=getNewScaling() 
     
    3535                Abort 
    3636        else 
    37                 root:myGlobals:gLogScalingAsDefault=num 
     37                root:Packages:NIST:gLogScalingAsDefault=num 
    3838        endif 
    3939         
     
    4444        Endif 
    4545        //reset scaling back to old value 
    46         root:myGlobals:gLogScalingAsDefault=oldScaling 
     46        root:Packages:NIST:gLogScalingAsDefault=oldScaling 
    4747End 
    4848 
     
    317317                return (1) 
    318318        else 
    319                 NVAR doLogScaling = root:myGlobals:gLogScalingAsDefault 
     319                NVAR doLogScaling = root:Packages:NIST:gLogScalingAsDefault 
    320320                 
    321321                wave data = $("root:Packages:NIST:"+type+":data") 
Note: See TracChangeset for help on using the changeset viewer.