From eba8d6db44a31ce9574bb76076b90bbbe64b81c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrique=20Corr=C3=AAa?= <75134774+HeCorr@users.noreply.github.com> Date: Sat, 20 Jul 2024 06:46:21 -0300 Subject: [PATCH] save backup when applying Polyline with Enter key (#1860) --- core_lib/src/tool/polylinetool.cpp | 1 + 1 file changed, 1 insertion(+) 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; }