diff --git a/ChangeLog b/ChangeLog index dd705228f..4e17f48d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-06 Douglas S. Blank + * src/DataViews/MyGrampsView.py (MyGrampsView.clear_gadgets): + Protect on re-columning from gadgets that have been removed + 2008-01-06 Benny Malengier * src/DataViews/MediaView.py: * src/DataViews/RepositoryView.py: diff --git a/src/DataViews/MyGrampsView.py b/src/DataViews/MyGrampsView.py index 8495f6353..da9048acb 100644 --- a/src/DataViews/MyGrampsView.py +++ b/src/DataViews/MyGrampsView.py @@ -590,7 +590,8 @@ class MyGrampsView(PageView.PageView): gadgets = [g for g in self.gadget_map.values() if g != None] for gadget in gadgets: column = gadget.mainframe.get_parent() - column.remove(gadget.mainframe) + if column: + column.remove(gadget.mainframe) def place_gadgets(self): """