Ignore:
Timestamp:
Mar 28, 2008 4:03:47 PM (15 years ago)
Author:
srkline
Message:

WIN OS-level default of .txt extension for saved files has been removed. Requested file name is now properly used.

NSORT: incorrect scaling when a single file was used has been fixed (was only a problem if preview was used)
NSORT: files written now have the file labels from the input files (1, 2, or 3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.10/MaskUtils.ipf

    r260 r303  
    491491        Variable refnum,ii=0,jj=0,dummy,num=pixelsX 
    492492        String fullpath="" 
    493         Open/D refnum as fullpath               //won't actually open the file 
    494         If(cmpstr(S_filename,"")==0) 
     493         
     494        PathInfo/S catPathName 
     495        fullPath = DoSaveFileDialog("Save data as")             //won't actually open the file 
     496        If(cmpstr(fullPath,"")==0) 
    495497                //user cancel, don't write out a file 
    496498                Close/A 
    497499                Abort "no data file was written" 
    498500        Endif 
    499         fullpath = S_filename 
    500501         
    501502        Make /B/O/N=(pixelsX) byteWave 
Note: See TracChangeset for help on using the changeset viewer.