Browse Source

Really fix split/join

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

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

@@ -518,7 +518,7 @@ def splitGroup(group_id):
ports_data.append(port_dict)

for connection in canvas.connection_list:
if (connection.group_in_id == group_id and port.port_in_id in port_list_ids) or \
if (connection.group_in_id == group_id and connection.port_in_id in port_list_ids) or \
(connection.group_out_id == group_id and connection.port_out_id in port_list_ids):
connection_dict = connection_dict_t()
connection_dict.connection_id = connection.connection_id
@@ -624,7 +624,7 @@ def joinGroup(group_id):
ports_data.append(port_dict)

for connection in canvas.connection_list:
if (connection.group_in_id == group_id and port.port_in_id in port_list_ids) or \
if (connection.group_in_id == group_id and connection.port_in_id in port_list_ids) or \
(connection.group_out_id == group_id and connection.port_out_id in port_list_ids):
connection_dict = connection_dict_t()
connection_dict.connection_id = connection.connection_id


Loading…
Cancel
Save