1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-04 13:32:19 +00:00

fix pasting a url into the torrent window

This commit is contained in:
Mitchell Livingston 2009-12-05 15:48:26 +00:00
parent 65b8835e1f
commit f0e1db9c68

View file

@ -515,7 +515,7 @@
{ {
NSURL * url; NSURL * url;
if ((url = [NSURL URLFromPasteboard: [NSPasteboard generalPasteboard]])) if ((url = [NSURL URLFromPasteboard: [NSPasteboard generalPasteboard]]))
[fController openURL: url]; [fController openURL: [url absoluteString]];
} }
- (BOOL) validateMenuItem: (NSMenuItem *) menuItem - (BOOL) validateMenuItem: (NSMenuItem *) menuItem