Bug 803325 - Check tab count instead of Gecko:Ready for showing tabs tray. r=sriram

This commit is contained in:
Brian Nicholson 2012-10-29 16:34:28 -07:00
parent ff87bb2f7d
commit 3f8f07ae3b

View File

@ -462,7 +462,7 @@ abstract public class BrowserApp extends GeckoApp
}
private void showTabs(TabsPanel.Panel panel) {
if (!checkLaunchState(LaunchState.GeckoRunning))
if (Tabs.getInstance().getCount() == 0)
return;
mTabsPanel.show(panel);