mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 09:25:56 +00:00
parent
6ce570359a
commit
777a863bb6
@ -75,7 +75,8 @@ class EventsView: NSView {
|
||||
return true
|
||||
}
|
||||
} 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)
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user