This commit is contained in:
Paddle
2024-01-07 21:41:23 +01:00
committed by Chris Hennes
parent 757d3e3cd7
commit 621b4bd5fc

View File

@@ -1356,6 +1356,10 @@ public:
}
makeAppropriateConstraint(previousOnSketchPos);
}
else if (key == SoKeyboardEvent::Z && (QApplication::keyboardModifiers() & Qt::ControlModifier)) {
// User trying to cancel with Ctrl-Z
sketchgui->purgeHandler();
}
else {
DrawSketchHandler::registerPressedKey(pressed, key);
}