revert broken undo behavior

fixes #1183
pull/1233/head
Mikael Finstad 4 years ago
parent 5ae7833c41
commit fe9ea4a37c
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -166,21 +166,10 @@ module.exports = (app, mainWindow, newVersion) => {
{
label: i18n.t('Edit'),
submenu: [
// TODO: See https://github.com/mifi/lossless-cut/issues/610
// { role: 'undo', label: i18n.t('Undo') },
// { role: 'redo', label: i18n.t('Redo') },
{
label: i18n.t('Undo'),
accelerator: 'CmdOrCtrl+Z',
click: async () => dialog.showMessageBox({ message: 'Undo/redo from the menu isn\'t currently working. Please use the keyboard shortcuts instead.' }),
},
{
label: i18n.t('Redo'),
accelerator: 'CmdOrCtrl+Shift+Z',
click: async () => dialog.showMessageBox({ message: 'Undo/redo from the menu isn\'t currently working. Please use the keyboard shortcuts instead.' }),
},
// https://github.com/mifi/lossless-cut/issues/610
// https://github.com/mifi/lossless-cut/issues/1183
{ role: 'undo', label: i18n.t('Undo') },
{ role: 'redo', label: i18n.t('Redo') },
{ type: 'separator' },
{ role: 'cut', label: i18n.t('Cut') },
{ role: 'copy', label: i18n.t('Copy') },

Loading…
Cancel
Save