mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 18:06:18 +00:00
parent
6ce570359a
commit
777a863bb6
@ -75,7 +75,8 @@ class EventsView: NSView {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
} else if types.contains(NSURLPboardType) {
|
} else if types.contains(NSURLPboardType) {
|
||||||
if let url = pb.propertyList(forType: NSURLPboardType) as? [Any] {
|
if var url = pb.propertyList(forType: NSURLPboardType) as? [String] {
|
||||||
|
url = url.filter{ !$0.isEmpty }
|
||||||
EventsResponder.sharedInstance().handleFilesArray(url)
|
EventsResponder.sharedInstance().handleFilesArray(url)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user