From 1a573315db0bab4992bebd82e72ba1321b53336a Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 4 Sep 2014 23:38:39 +0200 Subject: [PATCH] Make tabbed docks look better by using document mode --- openlp/core/ui/mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index be2902b9b..77a903c5f 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -92,6 +92,8 @@ class Ui_MainWindow(object): main_window.setObjectName('MainWindow') main_window.setWindowIcon(build_icon(':/icon/openlp-logo.svg')) main_window.setDockNestingEnabled(True) + if is_macosx(): + main_window.setDocumentMode(True) # Set up the main container, which contains all the other form widgets. self.main_content = QtGui.QWidget(main_window) self.main_content.setObjectName('main_content')