globpattern "pat" search in file selector implicitly assumed to be "*pat*"

This commit is contained in:
Stefan Frederik 2022-01-12 00:17:10 +01:00
parent da27141112
commit a8d3cb814b
1 changed files with 1 additions and 1 deletions

View File

@ -1597,7 +1597,7 @@ proc load_file_dialog {{msg {}} {ext {}} {global_initdir {INITIALINSTDIR}} {init
.dialog.buttons_bot.entry insert 0 $initialfile
}
bind .dialog.buttons_bot.entry <KeyRelease> {
set globfilter [.dialog.buttons_bot.entry get]
set globfilter *[.dialog.buttons_bot.entry get]*
if { $globfilter eq {} } { set globfilter {*} }
setglob $myload_dir1
}