diff --git a/UI/INodeEditor.cpp b/UI/INodeEditor.cpp index 9733910d..13ee1415 100644 --- a/UI/INodeEditor.cpp +++ b/UI/INodeEditor.cpp @@ -12,8 +12,8 @@ INodeEditor::INodeEditor(QWidget *pParent) // Create undo actions QAction *pUndoAction = mUndoStack.createUndoAction(this); QAction *pRedoAction = mUndoStack.createRedoAction(this); - pUndoAction->setShortcut(QKeySequence("Ctrl+Z")); - pRedoAction->setShortcut(QKeySequence("Ctrl+Y")); + pUndoAction->setShortcut(QKeySequence::Undo); + pRedoAction->setShortcut(QKeySequence::Redo); mUndoActions.push_back(pUndoAction); mUndoActions.push_back(pRedoAction);