Skip to content

The swiss army knife of lossless video/audio editing

revert broken undo behavior

Mikael Finstadfe9ea4a37c9c
diff --git a/public/menu.js b/public/menu.js
index 39cf6298..06376e09 100644
--- a/public/menu.js
+++ b/public/menu.js
@@ -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') },