diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 4a936c7d4..b5dc2bfae 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -407,7 +407,8 @@ class Gramps: Plugins.PluginStatus() def on_sidebar_activate(self,obj): - self.enable_sidebar(obj.get_active()) + val = obj.get_active() + self.enable_sidebar(val) GrampsCfg.save_view(val) def enable_sidebar(self,val): @@ -1431,7 +1432,7 @@ class Gramps: 6, val[6], 7, val[7]) else: if self.id2col.has_key(key): - (model,iter) = self.id2col[key] + (model,iter,page) = self.id2col[key] model.remove(iter) def on_home_clicked(self,obj):