From 0161d0bde6863737b3a45746a703186b44577521 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 17 Mar 2019 14:37:35 +0100 Subject: [PATCH] Trigger initial canvas item update when inlinedisplay is turned on Signed-off-by: falkTX --- source/frontend/patchcanvas/canvasbox.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/frontend/patchcanvas/canvasbox.py b/source/frontend/patchcanvas/canvasbox.py index f88525433..e512918c5 100644 --- a/source/frontend/patchcanvas/canvasbox.py +++ b/source/frontend/patchcanvas/canvasbox.py @@ -165,6 +165,7 @@ class CanvasBox(QGraphicsItem): self.m_plugin_id = plugin_id self.m_plugin_ui = hasUI self.m_plugin_inline = hasInlineDisplay + self.update() def setIcon(self, icon): if self.icon_svg is not None: