mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
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:
commit
e59a2588ec
@ -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 New Issue
Block a user