Restore window's auto hide state with delay for safety
This commit is contained in:
parent
410ccad473
commit
8a1e2f20fa
@ -419,8 +419,9 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
|
||||
this.processRestoredTabs();
|
||||
this.updateTabsOnTop();
|
||||
|
||||
// Init autohide service only if it have to be activated.
|
||||
this.autoHideWindow.restoreLastState();
|
||||
w.setTimeout(function(aSelf) {
|
||||
aSelf.autoHideWindow.restoreLastState();
|
||||
}, 0, this);
|
||||
|
||||
this.onPrefChange('extensions.treestyletab.autoCollapseExpandSubtreeOnSelect.whileFocusMovingByShortcut');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user