Merge pull request #213 from vector-im/t3chguy/fix/17631

Fix accelerator for save-image-as clashing with copy-link-address
This commit is contained in:
Michael Telatynski 2021-06-22 09:27:18 +01:00 committed by GitHub
commit e59a2588ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ function onLinkContextMenu(ev, params) {
if (params.hasImageContents && !url.startsWith('blob:')) {
popupMenu.append(new MenuItem({
label: _t('Save image as...'),
accelerator: 'a',
accelerator: 's',
async click() {
const targetFileName = params.titleText || "image.png";
const { filePath } = await dialog.showSaveDialog({