[139] Cmd/Strg+S speichert, +Shift+S speichert unter, Teilen auf Cmd/Strg+Shift+J

This commit is contained in:
Claude committed 2026-11-05 12:41:06 +00:00
1 parent b082064331
commit 7e968b6b1a
12 files changed
+54 -13

No files matched your search

+7 -1
View File
@@ -26,6 +26,7 @@ export interface NativeAppMenuHandlers {
onNewProjectFromTemplate: () => void;
onOpenProject: () => void;
onSaveProject: () => void;
onSaveProjectAs: () => void;
onImport: () => void;
onExportPdf: () => void;
onExportDxf: () => void;
@@ -173,10 +174,15 @@ export function useNativeAppMenu(
action: () => handlersRef.current.onOpenProject(),
}),
await MenuItem.new({
text: t("menu.native.saveAs"),
text: t("menu.native.save"),
accelerator: "CmdOrCtrl+S",
action: () => handlersRef.current.onSaveProject(),
}),
await MenuItem.new({
text: t("menu.native.saveAs"),
accelerator: "CmdOrCtrl+Shift+S",
action: () => handlersRef.current.onSaveProjectAs(),
}),
await MenuItem.new({
text: t("menu.native.import"),
action: () => handlersRef.current.onImport(),