no file delete on desktop

This commit is contained in:
vcoppe committed 2026-10-17 18:57:40 +02:00
1 parent 67a47cf065
commit 9f49119eec
2 files changed
+30 -11

No files matched your search

+11 -6
View File
@@ -354,12 +354,17 @@
<Shortcut key="V" ctrl={true} />
</Menubar.Item>
{/if}
<Menubar.Separator />
<Menubar.Item onclick={() => engine.delete()} disabled={selectionCount == 0}>
<Trash2 size="16" />
{i18n._('menu.delete')}
<Shortcut key="⌫" ctrl={true} />
</Menubar.Item>
{#if !desktop}
<Menubar.Separator />
<Menubar.Item
onclick={() => engine.delete()}
disabled={selectionCount == 0}
>
<Trash2 size="16" />
{i18n._('menu.delete')}
<Shortcut key="⌫" ctrl={true} />
</Menubar.Item>
{/if}
</Menubar.Content>
</Menubar.Menu>
<Menubar.Menu>