Changeset 694
- Timestamp:
- Dec 4, 2009 5:10:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/addcmds.tcl
- Property rcs:date changed from 2003/04/10 21:59:03 to 2003/05/22 21:39:30
- Property rcs:lines changed from +141 -38 to +20 -1
- Property rcs:rev changed from 1.30 to 1.31
r668 r694 274 274 -command "getinstfile $np" \ 275 275 ] -column 4 -row 5 276 grid [button $np.edit -text "Edit file" \ 277 -command {EditInstFile $newhist(instfile)}] \ 278 -column 5 -row 5 276 279 277 280 grid [label $np.lset -text "Select set" -anchor w] -column 1 -row 6 -sticky w … … 2096 2099 } 2097 2100 } 2101 2102 proc EditInstFile {"filename {}"} { 2103 global expgui 2104 # on the first call, load the commands 2105 if {[catch { 2106 if {[info procs instMakeWindow] == ""} { 2107 source [file join $expgui(scriptdir) instedit.tcl] 2108 } 2109 } errmsg]} { 2110 MyMessageBox -parent . -title "Load error" \ 2111 -message "Unexpected error while sourcing file instedit.tcl: $errmsg" \ 2112 -icon error 2113 } 2114 instMakeWindow $filename 2115 } 2116 2098 2117 # default 2099 2118 set newhist(insttype) {}
Note: See TracChangeset
for help on using the changeset viewer.