Fix 2350636: "shift-drag waypoints can create duplicates at a time". Erase the old...
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / waypointsimpleadd.cpp
index c6c2f08..230a82e 100644 (file)
@@ -126,6 +126,7 @@ Action::WaypointSimpleAdd::perform()
        {
                overwritten_wp = *iter.first;
                time_overwrite = true;
+               value_node->erase(overwritten_wp);
        }
 
        //add the value node in since it's safe