mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
sometimes mDragDest wasn't set, causing crashes or drags to be ignored when
dragging to the tab bar (bug 269995, 269994)
This commit is contained in:
parent
a665fc3a36
commit
713c89ee20
@ -522,6 +522,8 @@ static const int kOverflowButtonMargin = 1;
|
||||
|
||||
-(BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender
|
||||
{
|
||||
if (!mDragDest)
|
||||
return [mTabView prepareForDragOperation:sender];
|
||||
BOOL rv = [mDragDest prepareForDragOperation: sender];
|
||||
if (!rv) {
|
||||
if (mDragDestButton)
|
||||
|
Loading…
Reference in New Issue
Block a user