mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Quick filter hidden files (Linux)
This commit is contained in:
parent
b93c13c05b
commit
11d89e9945
1 changed files with 4 additions and 2 deletions
|
|
@ -634,13 +634,15 @@ end;
|
|||
class function TFileListBuilder.PrepareFilter(const aFileFilter: String;
|
||||
const aFilterOptions: TQuickSearchOptions): String;
|
||||
var
|
||||
sFileExt,
|
||||
Index: Integer;
|
||||
sFileExt: String;
|
||||
sFilterNameNoExt: String;
|
||||
begin
|
||||
Result := aFileFilter;
|
||||
if Result <> EmptyStr then
|
||||
begin
|
||||
if (Pos('.', Result) > 0) then
|
||||
Index:= Pos('.', Result);
|
||||
if (Index > 0) and ((Index > 1) or FirstDotAtFileNameStartIsExtension) then
|
||||
begin
|
||||
sFileExt := ExtractFileExt(Result);
|
||||
sFilterNameNoExt := ExtractOnlyFileName(Result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue