Ignore:
Timestamp:
Oct 1, 2009 1:25:54 PM (13 years ago)
Author:
srkline
Message:

Fixed a bug in Patch files that (under certain circumstances) incorrectly read the state of the radio buttons if the panel was closed and re-opened.

File:
1 edited

Legend:

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

    r541 r565  
    4040                //create the data folder and the globals for BOTH the Patch and Trans panels 
    4141                NewDataFolder/O root:myGlobals:Patch 
    42                 CreatePatchGlobals() 
    43         Endif 
    44  
     42        Endif 
     43        CreatePatchGlobals()            //re-create them every time (so text and radio buttons are correct) 
    4544End 
    4645 
     
    184183         
    185184        //loop through all of the files as needed 
    186         // Grep Note: the \\b sequences limit matches to a word boundary before and after 
    187         // "boondoggle", so "boondoggles" and "aboondoggle" won't match. 
     185 
    188186         
    189187        String list="",item="",fname,runList="",numStr="" 
     
    222220         
    223221        //grep through what text I can find in the VAX binary 
     222        // Grep Note: the \\b sequences limit matches to a word boundary before and after 
     223        // "boondoggle", so "boondoggles" and "aboondoggle" won't match. 
    224224        if(gRadioVal == 2) 
    225225                for(ii=0;ii<num;ii+=1) 
Note: See TracChangeset for help on using the changeset viewer.