mirror of
https://github.com/vector-im/element-desktop.git
synced 2024-09-09 22:05:10 +00:00
Fix accelerator for save-image-as clashing with copy-link-address
This commit is contained in:
parent
b470657cdb
commit
b18bcd9bed
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ function onLinkContextMenu(ev, params) {
|
||||||
if (params.hasImageContents && !url.startsWith('blob:')) {
|
if (params.hasImageContents && !url.startsWith('blob:')) {
|
||||||
popupMenu.append(new MenuItem({
|
popupMenu.append(new MenuItem({
|
||||||
label: _t('Save image as...'),
|
label: _t('Save image as...'),
|
||||||
accelerator: 'a',
|
accelerator: 's',
|
||||||
async click() {
|
async click() {
|
||||||
const targetFileName = params.titleText || "image.png";
|
const targetFileName = params.titleText || "image.png";
|
||||||
const { filePath } = await dialog.showSaveDialog({
|
const { filePath } = await dialog.showSaveDialog({
|
||||||
|
|
Loading…
Reference in a new issue