diff --git a/source/carla_host.py b/source/carla_host.py index 552dccd95..2d71eae8a 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -215,7 +215,9 @@ class HostWindow(QMainWindow): self.fPanelTime = CarlaPanelTime(host, self) self.fPanelTime.setEnabled(False) - QTimer.singleShot(0, self.fPanelTime.show) + + if not host.isPlugin: + QTimer.singleShot(0, self.fPanelTime.show) # ---------------------------------------------------------------------------------------------------- # Set up GUI (rack) @@ -671,9 +673,11 @@ class HostWindow(QMainWindow): self.projectLoadingFinished() # just in case - self.removeAllPlugins() self.host.remove_all_plugins() + if not self.host.isPlugin: + self.removeAllPlugins() + # -------------------------------------------------------------------------------------------------------- # Plugins (macros) @@ -885,15 +889,12 @@ class HostWindow(QMainWindow): def slot_canvasRefresh(self): patchcanvas.clear() + if self.host.processMode == ENGINE_PROCESS_MODE_CONTINUOUS_RACK and self.host.isPlugin: + return + if self.host.is_engine_running(): self.host.patchbay_refresh(self.fExternalPatchbay) - for pitem in self.fPluginList: - if pitem is None: - break - - pitem.getEditDialog().reloadAll() - QTimer.singleShot(1000 if self.fSavedSettings[CARLA_KEY_CANVAS_EYE_CANDY] else 0, self.ui.miniCanvasPreview.update) @pyqtSlot() @@ -1280,7 +1281,9 @@ class HostWindow(QMainWindow): self.setupCanvas() self.slot_miniCanvasCheckAll() - if self.host.is_engine_running(): + if self.host.processMode == ENGINE_PROCESS_MODE_CONTINUOUS_RACK and self.host.isPlugin: + pass + elif self.host.is_engine_running(): self.host.patchbay_refresh(self.fExternalPatchbay) # -------------------------------------------------------------------------------------------------------- diff --git a/source/widgets/racklistwidget.py b/source/widgets/racklistwidget.py index f381dc44a..12a8a7c9f 100644 --- a/source/widgets/racklistwidget.py +++ b/source/widgets/racklistwidget.py @@ -103,7 +103,7 @@ class RackListItem(QListWidgetItem): self.fWidget = createPluginSlot(self.fParent, self.host, self.fPluginId, self.fUseSkins) self.fWidget.setFixedHeight(self.fWidget.getFixedHeight()) - self.setSizeHint(QSize(700, self.fWidget.getFixedHeight())) + self.setSizeHint(QSize(620, self.fWidget.getFixedHeight())) self.fParent.setItemWidget(self, self.fWidget) @@ -124,7 +124,7 @@ class RackListWidget(QListWidget): self.fSupportedExtensions = [] self.fWasLastDragValid = False - self.setMinimumWidth(740) + self.setMinimumWidth(640) self.setSelectionMode(QAbstractItemView.SingleSelection) self.setSortingEnabled(False)