mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0000519] Quick filter is not cleaned after directory changing
This commit is contained in:
parent
88a1b4fe7f
commit
dadbd0fbe7
2 changed files with 6 additions and 1 deletions
|
|
@ -107,7 +107,6 @@ type
|
|||
in the list on next reload.
|
||||
}
|
||||
FRequestedActiveFile: String;
|
||||
FFileFilter: String;
|
||||
FFilterOptions: TQuickSearchOptions;
|
||||
FWatchPath: String;
|
||||
FLastMark: String;
|
||||
|
|
@ -187,6 +186,7 @@ type
|
|||
procedure WatcherEvent(const EventData: TFSWatcherEventData);
|
||||
|
||||
protected
|
||||
FFileFilter: String;
|
||||
FAllDisplayFiles: TDisplayFiles; //<en List of all files that can be displayed
|
||||
FFiles: TDisplayFiles; //<en List of displayed files (filtered)
|
||||
FSavedSelection: TStringListEx;
|
||||
|
|
|
|||
|
|
@ -128,6 +128,11 @@ const
|
|||
|
||||
procedure TOrderedFileView.AfterChangePath;
|
||||
begin
|
||||
if Filtered then
|
||||
begin
|
||||
FFileFilter:= EmptyStr;
|
||||
quickSearch.Finalize;
|
||||
end;
|
||||
FLastActiveFileIndex := -1;
|
||||
inherited AfterChangePath;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue