MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / removeColumn

Method removeColumn

gui/display.py:129–133  ·  view source on GitHub ↗
(self, col)

Source from the content-addressed store, hash-verified

127 self.columnsMinWidth.append(self.GetColumnWidth(i))
128
129 def removeColumn(self, col):
130 i = self.getColIndex(type(col))
131 del self.activeColumns[i]
132 del self.columnsMinWidth[i]
133 self.DeleteColumn(i)
134
135 def getColIndex(self, colClass):
136 for i, col in enumerate(self.activeColumns):

Callers 1

refreshExtraColumnsMethod · 0.80

Calls 1

getColIndexMethod · 0.95

Tested by

no test coverage detected