File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/MacVim/PSMTabBarControl/source Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -476,9 +476,11 @@ - (void)removeTabForCell:(PSMTabBarCell *)cell
476476 [[NSNotificationCenter defaultCenter ] removeObserver: cell];
477477 if ([cell closeButtonTrackingTag ] != 0 ){
478478 [self removeTrackingRect: [cell closeButtonTrackingTag ]];
479+ [cell setCloseButtonTrackingTag: 0 ];
479480 }
480481 if ([cell cellTrackingTag ] != 0 ){
481482 [self removeTrackingRect: [cell cellTrackingTag ]];
483+ [cell setCellTrackingTag: 0 ];
482484 }
483485
484486 // pull from collection
@@ -665,9 +667,11 @@ - (void)update
665667 [[NSNotificationCenter defaultCenter ] removeObserver: cell];
666668 if ([cell closeButtonTrackingTag ] != 0 ){
667669 [self removeTrackingRect: [cell closeButtonTrackingTag ]];
670+ [cell setCloseButtonTrackingTag: 0 ];
668671 }
669672 if ([cell cellTrackingTag ] != 0 ){
670673 [self removeTrackingRect: [cell cellTrackingTag ]];
674+ [cell setCellTrackingTag: 0 ];
671675 }
672676 }
673677
You can’t perform that action at this time.
0 commit comments