From 767e3d91f201d709f29afcd43f6c54d42fcab14d Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Tue, 2 Dec 2014 11:07:03 +0000 Subject: [PATCH] Added a refresh call to the hide-toolbar so that it gets updated if needed. Makes the blank-to-theme button visible in the toolbar. --- openlp/core/ui/slidecontroller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 85fe240d4..7066b4951 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -618,6 +618,9 @@ class SlideController(DisplayController, RegistryProperties): elif width < used_space - HIDE_MENU_THRESHOLD and not self.hide_menu.isVisible(): self.set_blank_menu(False) self.toolbar.set_widget_visible(NARROW_MENU) + # Fallback to the standard blank toolbar if the hide_menu is not visible. + elif not self.hide_menu.isVisible(): + self.set_blank_menu() def set_blank_menu(self, visible=True): """