Don't restore initial mode for new window

This commit is contained in:
YUKI Hiroshi 2015-03-03 20:10:12 +09:00
parent 2398b837b0
commit 7b038dce32

View File

@ -1435,6 +1435,9 @@ AutoHideWindow.prototype = inherit(AutoHideConstants, {
var mode = this.treeStyleTab.isFullscreenAutoHide ?
utils.getTreePref('tabbar.autoHide.mode.fullscreen') :
this.lastMode;
if (mode == this.mode)
return;
this.mode = mode;
if (mode != this.kMODE_DISABLED)
this.updateKeyListeners(this.window);