Ignore:
Timestamp:
Dec 6, 2011 2:40:30 PM (9 years ago)
Author:
toby
Message:

bug fixes: dummy hist: disable CIF read; remove default phase when loading from a EXP; fix bug where .EXP files were read twice after an update; ShowCallStack?: new routine for debug; liveplot: new option to set title from histogram file name (requested by Ling Yang)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/expgui

    r1173 r1182  
    541541    loadexp $newexpfile
    542542
    543     # switch to the appropriate 1st page
    544     #StageTabUse
    545     SetStartPanel
    546 
    547543    # reset the phase selection
    548544    set expgui(curPhase) {}
     
    554550        set expgui(curhist) {}
    555551    }
    556 #    if {[CountHistory] > 100} {
    557 #       DeleteHistoryRecords "This .EXP file has [CountHistory] history records\nErasing most will speed EXPGUI"
    558 #    }
     552    # switch to the appropriate 1st page
     553    #StageTabUse
     554    SetStartPanel
    559555}
    560556
     
    841837        }
    842838        set ans [ReloadExpMsg [file tail $expgui(expfile)] $expgui(changed)]
    843 
     839        # did a load already occur while we were waiting for an answer?
     840        if {[file mtime $expgui(expfile)] == $expgui(expModifiedLast)} {
     841            return
     842        }
    844843        if {$ans == 0} {
    845844            loadexp $expgui(expfile)
Note: See TracChangeset for help on using the changeset viewer.