From 21ee6ddaa261fc26b8ccd5142a73735b46b57941 Mon Sep 17 00:00:00 2001 From: "p.kosyh@gmail.com" Date: Wed, 12 Jan 2011 06:10:41 +0000 Subject: [PATCH] filter fix --- instead.rss | 5 ----- stead/xact.lua | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/instead.rss b/instead.rss index 5bcc85c..b66107e 100644 --- a/instead.rss +++ b/instead.rss @@ -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; diff --git a/stead/xact.lua b/stead/xact.lua index 267212f..721d06b 100644 --- a/stead/xact.lua +++ b/stead/xact.lua @@ -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