diff options
-rw-r--r-- | src/com/android/browser/NavScreen.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/NavScreen.java b/src/com/android/browser/NavScreen.java index fda8bcb..4e81915 100644 --- a/src/com/android/browser/NavScreen.java +++ b/src/com/android/browser/NavScreen.java @@ -162,6 +162,7 @@ public class NavScreen extends RelativeLayout } else { mUiController.closeTab(tab); } + mTabViews.remove(tab); } } @@ -239,6 +240,7 @@ public class NavScreen extends RelativeLayout public void onClick(View v) { if (tabview.isClose(v)) { mScroller.animateOut(tabview); + mTabViews.remove(tab); } else if (tabview.isTitle(v)) { switchToTab(tab); mUi.getTitleBar().setSkipTitleBarAnimations(true); |