filter fix
This commit is contained in:
parent
beec2e7d38
commit
21ee6ddaa2
|
@ -42,11 +42,6 @@ RESOURCE FILESELECTIONDIALOG r_file_selection_dialog {
|
|||
title = "Select-a-file:";
|
||||
root_path = "C:\\";
|
||||
filters = {
|
||||
FILTER {
|
||||
filter_type = EAttributeFilter;
|
||||
filter_style = EExclusiveFilter;
|
||||
filter_data = { "SH" }; // Excludes system, hidden and read-only attributes
|
||||
},
|
||||
FILTER {
|
||||
filter_type = EFilenameFilter;
|
||||
filter_style = EInclusiveFilter;
|
||||
|
|
|
@ -60,7 +60,11 @@ __do_xact = function(str, self)
|
|||
error("Empty link: "..s, 3);
|
||||
end
|
||||
else
|
||||
oo = objs():srch(o)
|
||||
if stead.api_version >= "1.3.2" then
|
||||
oo = here():srch(o)
|
||||
else
|
||||
oo = objs():srch(o)
|
||||
end
|
||||
if not oo then
|
||||
oo = ref(o, true)
|
||||
end
|
||||
|
|
Reference in a new issue