mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-28 10:11:32 +00:00
Replaced a couple manual QKeySequences with enums to ensure the correct platform-independent key binding
This commit is contained in:
parent
394953434d
commit
aeb6cd08d6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user