From 28599c8f245a7dcd104bdde3ade95e66452f4e12 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 13 Nov 2014 11:26:44 +0100 Subject: [PATCH] Make sure that the slidecontroller toolbar layout is correctly adjusted to fit its size. Fixes bug 1387304 Fixes: https://launchpad.net/bugs/1387304 --- openlp/core/ui/slidecontroller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index d12506452..dfc7db2d8 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -691,7 +691,8 @@ class SlideController(DisplayController, RegistryProperties): self.mediabar.show() self.previous_item.setVisible(not item.is_media()) self.next_item.setVisible(not item.is_media()) - self.set_blank_menu() + # The layout of the toolbar is size dependent, so make sure it fits + self.on_controller_size_changed(self.controller.width()) # Work-around for OS X, hide and then show the toolbar # See bug #791050 self.toolbar.show()