diff options
author | Damiano Galassi <[email protected]> | 2016-06-17 12:44:28 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-06-17 12:44:28 +0200 |
commit | 221bfe7afa05f8a0a9f85027992328b7c5226de2 (patch) | |
tree | 37a1681efa8ab32d8b1d42318a4f761660ef7918 /macosx/HBTabView.m | |
parent | 63b26387e57bf122ce9c7f5d8554a3dd08914f0f (diff) |
MacGui: fix drag&drop on the main window tab view.
Diffstat (limited to 'macosx/HBTabView.m')
-rw-r--r-- | macosx/HBTabView.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBTabView.m b/macosx/HBTabView.m index f0adc6544..dc20f0223 100644 --- a/macosx/HBTabView.m +++ b/macosx/HBTabView.m @@ -9,11 +9,16 @@ @implementation HBTabView --(NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender +- (NSDragOperation)draggingEntered:(id<NSDraggingInfo>)sender { return [self.dropDelegate draggingEntered:sender]; } +- (BOOL)prepareForDragOperation:(id<NSDraggingInfo>)sender +{ + return [self.dropDelegate prepareForDragOperation:sender]; +} + - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender { return [self.dropDelegate performDragOperation:sender]; |