GTK: fix renameF callback
This commit is contained in:
parent
3af8b36940
commit
db16dcbb5d
@ -427,7 +427,7 @@ renameF [item] _ _ = withErrorDialog $ do
|
|||||||
P.</> fn) ++ "\"?"
|
P.</> fn) ++ "\"?"
|
||||||
withConfirmationDialog cmsg $
|
withConfirmationDialog cmsg $
|
||||||
HSFM.FileSystem.FileOperations.renameFile (path item)
|
HSFM.FileSystem.FileOperations.renameFile (path item)
|
||||||
((path item) P.</> fn)
|
((P.dirname $ path item) P.</> fn)
|
||||||
renameF _ _ _ = withErrorDialog
|
renameF _ _ _ = withErrorDialog
|
||||||
. throw $ InvalidOperation
|
. throw $ InvalidOperation
|
||||||
"Operation not supported on multiple files"
|
"Operation not supported on multiple files"
|
||||||
|
Loading…
Reference in New Issue
Block a user