From 34099c5df7ab65dfd596b1d032c6134c7d8d3e9a Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Thu, 6 Jun 2013 18:07:05 +0200 Subject: [PATCH] if the media doc is invisible, make it visible --- openlp/core/ui/mainwindow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index ef7181ee1..1f8e3340e 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -560,6 +560,9 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): """ Called when the search shotcut has been pressed. """ + # Make sure the media_dock is visible. + if not self.media_manager_dock.isVisible(): + self.media_manager_dock.setVisible(True) widget = self.media_tool_box.currentWidget() if widget: widget.on_focus()