aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/synthpod_common_nk.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/synthpod_common_nk.c b/plugins/synthpod_common_nk.c
index 8caef1e0..a9fa77e6 100644
--- a/plugins/synthpod_common_nk.c
+++ b/plugins/synthpod_common_nk.c
@@ -6345,6 +6345,17 @@ static inline void
_remove_selected_nodes(plughandle_t *handle)
{
DBG;
+ // deselect all module connectors
+ HASH_FOREACH(&handle->conns, mod_conn_itr)
+ {
+ mod_conn_t *mod_conn = *mod_conn_itr;
+
+ if(mod_conn->selected)
+ {
+ _remove_visible_ports_from_mod_conn(handle, mod_conn);
+ }
+ }
+
// deselect all modules
HASH_FOREACH(&handle->mods, mod_itr)
{
@@ -6363,17 +6374,6 @@ _remove_selected_nodes(plughandle_t *handle)
}
}
}
-
- // deselect all module connectors
- HASH_FOREACH(&handle->conns, mod_conn_itr)
- {
- mod_conn_t *mod_conn = *mod_conn_itr;
-
- if(mod_conn->selected)
- {
- _remove_visible_ports_from_mod_conn(handle, mod_conn);
- }
- }
}
static inline void