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:
pinkerton%aol.net 2005-03-05 22:07:45 +00:00
parent a665fc3a36
commit 713c89ee20

View File

@ -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)