Skip to content

Commit

Permalink
Don't update splitter width, if window was minimized
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Jan 30, 2014
1 parent 70a14ee commit 99ce037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome/content/sidebarslist.js
Expand Up @@ -579,6 +579,8 @@ window.sidebarsList = { // var sidebarsList = ... can't be deleted!
maxSplitterWidth: 128,
setSplitterWidth: function() {
var state = this._lastWindowState = this.windowState;
if(state == window.STATE_MINIMIZED)
return;
var prefName = "splitterWidth";
if(state == window.STATE_MAXIMIZED)
prefName += "MaximizedWindow";
Expand Down

0 comments on commit 99ce037

Please sign in to comment.