Fix broken relative width calculation after r48947.

This commit is contained in:
Nathan Gray 2014-10-08 17:10:58 +00:00
parent 5a888ec812
commit 5e9676e770

View File

@ -414,7 +414,7 @@ var et2_dataview = Class.extend({
{ {
var col = self.columnMgr.columns[i]; var col = self.columnMgr.columns[i];
if(col == this || col.fixedWidth) continue; if(col == this || col.fixedWidth) continue;
col.set_width(self.columns[i].width / relative); col.set_width(self.columnMgr.columnWidths[i] / relative);
} }
// Triggers column change callback, which saves // Triggers column change callback, which saves
self.updateColumns(); self.updateColumns();