Cleanup
This commit is contained in:
parent
b0c2f0313f
commit
d8446e25ae
@ -113,8 +113,8 @@ class SpreadBox(hippo.CanvasBox, hippo.CanvasItem):
|
|||||||
self._layout_item(item)
|
self._layout_item(item)
|
||||||
|
|
||||||
def remove_item(self, item):
|
def remove_item(self, item):
|
||||||
info = item.get_data('item-info')
|
|
||||||
if self._grid:
|
if self._grid:
|
||||||
|
info = item.get_data('item-info')
|
||||||
info.remove_weight(self._grid)
|
info.remove_weight(self._grid)
|
||||||
|
|
||||||
self.remove(item)
|
self.remove(item)
|
||||||
|
Loading…
Reference in New Issue
Block a user