From 1ee1fae82a13764f5122cc3a490bf88056df14c1 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 20 Nov 2017 23:12:31 +0100 Subject: [PATCH] Fix missing patchbay tab on carla-patchbay under ladish or NSM --- source/carla-patchbay | 2 +- source/carla_host.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/carla-patchbay b/source/carla-patchbay index dc74e2681..05861b54f 100755 --- a/source/carla-patchbay +++ b/source/carla-patchbay @@ -53,7 +53,7 @@ if __name__ == '__main__': # ------------------------------------------------------------------------------------------------------------------ # Create GUI - gui = HostWindow(host, not(LADISH_APP_NAME or NSM_URL)) + gui = HostWindow(host, True) # ------------------------------------------------------------------------------------------------------------------ # Show GUI diff --git a/source/carla_host.py b/source/carla_host.py index 89ba4d525..8d40eb405 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -256,7 +256,8 @@ class HostWindow(QMainWindow): self.ui.menu_Canvas.menuAction().setVisible(False) self.ui.miniCanvasPreview.hide() self.ui.tabWidget.removeTab(1) - self.ui.tabWidget.tabBar().hide() + if WINDOWS: + self.ui.tabWidget.tabBar().hide() if host.isControl: self.ui.dockWidget.hide()