activate "fast restore" for any window restoration (ex. Private Browsing, Session Manager, etc.)

This commit is contained in:
SHIMODA Hiroshi 2011-12-12 16:44:10 +09:00
parent fa4d4e1648
commit 1bc3146759

View File

@ -2277,11 +2277,8 @@ TreeStyleTabBrowser.prototype = {
onWindowStateRestored : function TSTBrowser_onWindowStateRestored()
{
if (this.window.__SS_tabsToRestore) {
if (!this.windowStateRestored)
if (this.window.__SS_tabsToRestore && this.window.__SS_tabsToRestore > 1)
this.fastRestoreTreeStructure();
}
this.windowStateRestored = true;
},
fastRestoreTreeStructure : function TSTBrowser_fastRestoreTreeStructure()