Almost working, no green to sink

This commit is contained in:
Joey Yakimowich-Payne 2026-02-12 17:07:33 -07:00
commit 2208483123
4 changed files with 26 additions and 21 deletions

View file

@ -343,6 +343,8 @@ bool WarpGraphModel::deleteConnection(
}
m_connections.erase(it);
m_connectionChannels.erase(connectionId);
recomputeConnectionChannels();
Q_EMIT connectionDeleted(connectionId);
return true;
}
@ -374,6 +376,7 @@ bool WarpGraphModel::deleteNode(QtNodes::NodeId const nodeId) {
m_positions.erase(nodeId);
m_sizes.erase(nodeId);
m_volumeStates.erase(nodeId);
m_peakLevels.erase(nodeId);
m_styleCache.erase(nodeId);
m_volumeWidgets.erase(nodeId);
Q_EMIT nodeDeleted(nodeId);