Browse Source

Only refresh patchbay if engine is running

tags/1.9.4
falkTX 11 years ago
parent
commit
382bb18268
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/carla.py

+ 2
- 1
source/carla.py View File

@@ -928,7 +928,8 @@ class CarlaMainW(QMainWindow):
@pyqtSlot() @pyqtSlot()
def slot_canvasRefresh(self): def slot_canvasRefresh(self):
patchcanvas.clear() patchcanvas.clear()
Carla.host.patchbay_refresh()
if Carla.host.is_engine_running():
Carla.host.patchbay_refresh()
QTimer.singleShot(1000 if self.fSavedSettings['Canvas/EyeCandy'] else 0, self.ui.miniCanvasPreview, SLOT("update()")) QTimer.singleShot(1000 if self.fSavedSettings['Canvas/EyeCandy'] else 0, self.ui.miniCanvasPreview, SLOT("update()"))


@pyqtSlot() @pyqtSlot()


Loading…
Cancel
Save