Skip to content

Commit

Permalink
save backup when applying Polyline with Enter key (#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeCorr authored Jul 20, 2024
1 parent bfe2349 commit eba8d6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core_lib/src/tool/polylinetool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ bool PolylineTool::keyPressEvent(QKeyEvent* event)
case Qt::Key_Return:
if (mPoints.size() > 0)
{
mEditor->backup(typeName());
endPolyline(mPoints);
return true;
}
Expand Down

0 comments on commit eba8d6d

Please sign in to comment.