Fix support for dragging urls in Mac
This commit is contained in:
parent
d6e3360aef
commit
89e8ad4947
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,6 @@ const CGFloat kVerticalTitleMargin = 2;
|
||||||
|
|
||||||
if (NSPointInRect([sender draggingLocation], self.frame)) {
|
if (NSPointInRect([sender draggingLocation], self.frame)) {
|
||||||
trayIcon_->NotifyDrop();
|
trayIcon_->NotifyDrop();
|
||||||
[self handleDrop:sender];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -325,6 +324,7 @@ const CGFloat kVerticalTitleMargin = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
|
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
|
||||||
|
[self handleDrop:sender];
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue