mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 15:03:57 +00:00
fix: Mac - shortcut for select all
This commit is contained in:
@@ -229,6 +229,9 @@ ipcMain.on('window-action', async (event, arg) => {
|
||||
case 'paste':
|
||||
mainWindow.webContents.paste();
|
||||
break;
|
||||
case 'selectAll':
|
||||
mainWindow.webContents.selectAll();
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ module.exports = ({ editMenu }) => [
|
||||
{ command: 'edit.cut' },
|
||||
{ command: 'edit.copy' },
|
||||
{ command: 'edit.paste' },
|
||||
{ command: 'edit.selectAll' },
|
||||
],
|
||||
}
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user