mirror of https://gitlab.com/basile.b/dexed.git
fix, open folder broken on win
This commit is contained in:
parent
c0738636e0
commit
cac8b85e98
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue