diff --git a/core_lib/src/tool/polylinetool.cpp b/core_lib/src/tool/polylinetool.cpp index 6fde8d110..6ba6fb936 100644 --- a/core_lib/src/tool/polylinetool.cpp +++ b/core_lib/src/tool/polylinetool.cpp @@ -206,6 +206,7 @@ bool PolylineTool::keyPressEvent(QKeyEvent* event) case Qt::Key_Return: if (mPoints.size() > 0) { + mEditor->backup(typeName()); endPolyline(mPoints); return true; }