GTK: readd copy mode dialog

This commit is contained in:
Julian Ospald 2015-12-22 19:50:07 +01:00
parent aa1401d874
commit 9288be7ff7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -146,8 +146,9 @@ copyFinal mygui myview = withErrorDialog $ do
dest <- goUp mcdir
let cmsg = "Really copy \"" ++ fullPath s
++ "\"" ++ " to \"" ++ fullPath dest ++ "\"?"
cm <- showCopyModeChooserDialog
withConfirmationDialog cmsg
(runFileOp (FCopy . CC s dest $ Strict)
(runFileOp (FCopy . CC s dest $ cm)
>> refreshTreeView mygui myview Nothing)
return ()
_ -> return ()