From 1b40d3b59a5a6dbb2b9841c8122e7c8599c6e6d4 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 3 Aug 2023 19:12:41 +0100 Subject: [PATCH] Fix bottombar not saving size Fixes #12941. --- gramps/gui/views/pageview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps/gui/views/pageview.py b/gramps/gui/views/pageview.py index 2881afd59f1..4a6b38c6041 100644 --- a/gramps/gui/views/pageview.py +++ b/gramps/gui/views/pageview.py @@ -182,8 +182,7 @@ def build_interface(self): self.vpane.pack1(self.widget, resize=True, shrink=False) self.vpane.pack2(self.bottombar, resize=False, shrink=False) self.vpane.show() - self._config.register("vpane.slider-position", -1) - self.vpane.set_position(self._config.get("vpane.slider-position")) + self._setup_slider_config(self.vpane, "vpane.slider-position", position=-1) self.sidebar_toggled(self.sidebar.get_property("visible")) self.hpane_sig = hpane.connect("draw", self.set_page_slider)