Browse Source

Canvas plugin 'edit' will raise window and toggle rack edit button

tags/1.9.7
falkTX 9 years ago
parent
commit
968e98d522
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      source/carla_host.py

+ 7
- 0
source/carla_host.py View File

@@ -1930,6 +1930,13 @@ def canvasCallback(action, value1, value2, valueStr):
return

dialog.show()
dialog.activateWindow()

# FIXME
pwidget = gCarla.gui.getPluginSlotWidget(pluginId)

if pwidget is not None and pwidget.b_edit is not None:
pwidget.b_edit.setChecked(True)

elif action == patchcanvas.ACTION_PLUGIN_RENAME:
pluginId = value1


Loading…
Cancel
Save