mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Cleanup
This commit is contained in:
parent
1167d48903
commit
8538f7bda2
1 changed files with 0 additions and 19 deletions
|
|
@ -2660,16 +2660,6 @@ begin
|
|||
|
||||
EnableWatcher(False);
|
||||
|
||||
// Workaround for Search Result File Source
|
||||
if FileSource is TSearchResultFileSource then
|
||||
begin
|
||||
FHistory.Clear;
|
||||
if NotebookPage is TFileViewPage then
|
||||
begin
|
||||
(NotebookPage as TFileViewPage).PermanentTitle:= EmptyStr;
|
||||
end;
|
||||
end;
|
||||
|
||||
FHistory.Add(aFileSource, aPath);
|
||||
|
||||
AfterChangePath;
|
||||
|
|
@ -2707,15 +2697,6 @@ begin
|
|||
FileSource.RemoveReloadEventListener(@ReloadEvent);
|
||||
EnableWatcher(False);
|
||||
|
||||
// Workaround for Search Result File Source
|
||||
if FileSource is TSearchResultFileSource then
|
||||
begin
|
||||
if NotebookPage is TFileViewPage then
|
||||
begin
|
||||
(NotebookPage as TFileViewPage).PermanentTitle:= EmptyStr;
|
||||
end;
|
||||
end;
|
||||
|
||||
FHistory.Clear;
|
||||
AfterChangePath;
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue