gui: Pass a filename to openFile as an argument rather than using the

currentFile global variable.
This commit is contained in:
tgoff0 2014-12-15 18:22:59 +00:00
parent 104e68a712
commit 51aba4b82c
2 changed files with 12 additions and 15 deletions

View file

@ -229,7 +229,7 @@ bind . <Control-n> "fileNewDialogBox"
bind . <Control-o> "fileOpenDialogBox"
.menubar.file add command -label "Reload" -underline 0 \
-command { openFile }
-command { openFile $currentFile }
.menubar.file add command -label Save -underline 0 \
-accelerator "Ctrl+S" -command { fileSaveDialogBox "" }