From cac8b85e98c6fb1b9c099e29ac749143c1b7570c Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 12 Feb 2016 14:31:03 +0100 Subject: [PATCH] fix, open folder broken on win --- src/ce_miniexplorer.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_miniexplorer.pas b/src/ce_miniexplorer.pas index f06221c4..5296c9e7 100644 --- a/src/ce_miniexplorer.pas +++ b/src/ce_miniexplorer.pas @@ -536,7 +536,7 @@ begin if lstFav.Selected.Data.isNil then exit; fname := PString(lstFav.Selected.Data)^; end; - if fname.fileExists then if not shellOpen(fname) then + if fname.fileExists or fname.dirExists then if not shellOpen(fname) then getMessageDisplay.message((format('the shell failed to open "%s"', [shortenPath(fname, 25)])), nil, amcMisc, amkErr); end;