Skip to content

Commit

Permalink
fix(client): fix undo/redo menu entries
Browse files Browse the repository at this point in the history
Ralated to #1024
  • Loading branch information
philippfromme authored and barmac committed Jan 17, 2019
1 parent 461b25d commit 915d04c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/app/tabs/getEditMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,18 @@ export function getToolEntries({
}

export function getUndoRedoEntries({
canRedo,
canUndo
redo,
undo
}) {
return [{
label: 'Undo',
accelerator: 'CommandOrControl+Z',
enabled: canUndo,
enabled: undo,
action: 'undo'
}, {
label: 'Redo',
accelerator: 'CommandOrControl+Y',
enabled: canRedo,
enabled: redo,
action: 'redo'
}];
}
Expand Down

0 comments on commit 915d04c

Please sign in to comment.