Fix support for dragging urls in Mac

This commit is contained in:
Pedro Belo 2016-11-19 21:18:24 -08:00
parent d6e3360aef
commit 89e8ad4947

View file

@ -297,7 +297,6 @@ const CGFloat kVerticalTitleMargin = 2;
if (NSPointInRect([sender draggingLocation], self.frame)) {
trayIcon_->NotifyDrop();
[self handleDrop:sender];
}
}
@ -325,6 +324,7 @@ const CGFloat kVerticalTitleMargin = 2;
}
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
[self handleDrop:sender];
return YES;
}