Browse Source

Clear canvas selection when deleting plugin, fixing assertions

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 5 years ago
parent
commit
d707051665
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/frontend/patchcanvas/patchcanvas.py

+ 2
- 0
source/frontend/patchcanvas/patchcanvas.py View File

@@ -1045,6 +1045,8 @@ def handlePluginRemoved(plugin_id):
if canvas.debug:
print("PatchCanvas::handlePluginRemoved(%i)" % plugin_id)

canvas.scene.clearSelection()

group = canvas.group_plugin_map.pop(plugin_id, None)

if group is not None:


Loading…
Cancel
Save