From 7249a58d744ab15e4d99cf038ab3e95b0681dee4 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Mon, 6 Aug 2007 13:22:50 +0000 Subject: [PATCH] Tab selection messages are ignored; selection is done when tabline updates. git-svn-id: http://macvim.googlecode.com/svn/trunk@89 96c4425d-ca35-0410-94e5-3396d5c13a8f --- MMVimController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MMVimController.m b/MMVimController.m index 5ca667d713..2a5058feb3 100644 --- a/MMVimController.m +++ b/MMVimController.m @@ -418,10 +418,12 @@ static NSMenuItem *findMenuItemWithTagInMenu(NSMenu *root, int tag) [self performBatchDrawWithData:data]; } else if (SelectTabMsgID == msgid) { +#if 0 // NOTE: Tab selection is done inside updateTabsWithData:. const void *bytes = [data bytes]; int idx = *((int*)bytes); //NSLog(@"Selecting tab with index %d", idx); [windowController selectTabWithIndex:idx]; +#endif } else if (UpdateTabBarMsgID == msgid) { //NSLog(@"Updating tabs"); [windowController updateTabsWithData:data];