diff options
Diffstat (limited to 'Project/Shunt.cpp')
-rw-r--r-- | Project/Shunt.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Project/Shunt.cpp b/Project/Shunt.cpp index cbd424e..0cd5736 100644 --- a/Project/Shunt.cpp +++ b/Project/Shunt.cpp @@ -57,7 +57,6 @@ void Shunt::StartMove(wxPoint2DDouble position) void Shunt::RemoveParent(Element* parent) { if(parent == m_parentList[0]) { - m_parentList[0]->RemoveChild(this); m_parentList[0] = NULL; m_online = false; UpdateSwitchesPosition(); |