GTK: fix renameF callback

This commit is contained in:
Julian Ospald 2016-05-08 20:14:39 +02:00
parent 3af8b36940
commit db16dcbb5d
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ renameF [item] _ _ = withErrorDialog $ do
P.</> fn) ++ "\"?"
withConfirmationDialog cmsg $
HSFM.FileSystem.FileOperations.renameFile (path item)
((path item) P.</> fn)
((P.dirname $ path item) P.</> fn)
renameF _ _ _ = withErrorDialog
. throw $ InvalidOperation
"Operation not supported on multiple files"