1
0
forked from gmp/clip

clear before paste files

This commit is contained in:
Ilya Turkin 2021-02-01 17:34:13 +03:00
parent 3615552b6d
commit b265467dc4

View File

@ -44,6 +44,7 @@ func PasteFileList(filePaths []string) {
if pb == nil { if pb == nil {
pb = ns.NSPasteboardGeneralPasteboard() pb = ns.NSPasteboardGeneralPasteboard()
} }
pb.ClearContents()
pb.PasteFileList(filePaths) pb.PasteFileList(filePaths)
} }