Almost working, no green to sink
This commit is contained in:
parent
3c1c86f952
commit
2208483123
4 changed files with 26 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue