mirror of
https://github.com/vector-im/element-desktop.git
synced 2024-09-09 22:05:10 +00: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
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