mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:00:24 +02:00
TShellTreeView: fix not displaying files in connected ShellListView. Issue #0027571.
git-svn-id: trunk@48056 -
This commit is contained in:
parent
b728a865d3
commit
cdf532fad5
@ -859,7 +859,7 @@ begin
|
||||
ANode := Selected;
|
||||
if Assigned(FShellListView) and Assigned(ANode) then
|
||||
begin
|
||||
IsDirectory := (not (otFolders in FObjectTypes)) or ANode.HasChildren;
|
||||
IsDirectory := (not (otNonFolders in FObjectTypes)) or ANode.HasChildren;
|
||||
if IsDirectory then
|
||||
begin
|
||||
//Note: the folder may have been deleted in the mean time
|
||||
|
Loading…
Reference in New Issue
Block a user