This commit is contained in:
Marco Pesenti Gritti 2007-05-11 23:11:02 +02:00
parent b0c2f0313f
commit d8446e25ae

View File

@ -113,8 +113,8 @@ class SpreadBox(hippo.CanvasBox, hippo.CanvasItem):
self._layout_item(item)
def remove_item(self, item):
info = item.get_data('item-info')
if self._grid:
info = item.get_data('item-info')
info.remove_weight(self._grid)
self.remove(item)