globpattern "pat" search in file selector implicitly assumed to be "*pat*"
This commit is contained in:
parent
da27141112
commit
a8d3cb814b
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue