From 5515eac76bdfe479fb41ad28c2c9388d9a3aac88 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 17 Mar 2019 14:39:33 +0100 Subject: [PATCH] Some precautions when redrawing inlinedisplay Signed-off-by: falkTX --- source/frontend/carla_host.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/frontend/carla_host.py b/source/frontend/carla_host.py index d7e4b8303..6dfaf19ce 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -2202,7 +2202,9 @@ class HostWindow(QMainWindow): @pyqtSlot(int) def slot_handleInlineDisplayRedrawCallback(self, pluginId): - patchcanvas.redrawPluginGroup(pluginId) + # FIXME + if self.fIdleTimerSlow != 0 and self.fIdleTimerFast != 0 and pluginId < self.fPluginCount and not self.fIsProjectLoading: + patchcanvas.redrawPluginGroup(pluginId) # --------------------------------------------------------------------------------------------------------