diff --git a/src/items/symbolpaletteitem.cpp b/src/items/symbolpaletteitem.cpp index 0bb9b0921..f4fdbfed0 100644 --- a/src/items/symbolpaletteitem.cpp +++ b/src/items/symbolpaletteitem.cpp @@ -144,7 +144,11 @@ SymbolPaletteItem::~SymbolPaletteItem() { void SymbolPaletteItem::removeMeFromBus(double v) { foreach (ConnectorItem * connectorItem, cachedConnectorItems()) { if (m_isNetLabel) { - LocalNetLabels.remove(m_label, connectorItem); + if (m_voltageReference) { + LocalNetLabels.remove(getLabel(), connectorItem); + } else { + LocalNetLabels.remove(m_label, connectorItem); + } } else { double nv = useVoltage(connectorItem);