GTK: fix renameF callback

This commit is contained in:
2016-05-08 20:14:39 +02:00
parent 3af8b36940
commit db16dcbb5d

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"