[116] Exporte atomar (Tauri save_export), Electron speichert Projekte atomar im Hauptprozess, Wiederherstellung aus .obp~ (Öffnen-Angebot + Datei-Menü)

This commit is contained in:
Claude committed 2026-11-14 11:34:19 +00:00
1 parent 7cc642241d
commit 47dfedd829
22 files changed
+755 -29

No files matched your search

+4
View File
@@ -25,6 +25,8 @@ export interface AppMenuBarProps {
onOpenProject: () => void;
onSaveProject: () => void;
onSaveProjectAs: () => void;
/** Datei: vorige Fassung (.obp~) der aktuellen Datei wiederherstellen ([116]). */
onRestoreBackup: () => void;
onImport: () => void;
/** Datei: Punktwolke importieren ([27]). */
onImportPointCloud?: () => void;
@@ -72,6 +74,7 @@ export const AppMenuBar = memo(function AppMenuBar({
onOpenProject,
onSaveProject,
onSaveProjectAs,
onRestoreBackup,
onImport,
onImportPointCloud,
onImportMesh,
@@ -107,6 +110,7 @@ export const AppMenuBar = memo(function AppMenuBar({
{ label: t("file.open"), onSelect: onOpenProject },
{ label: t("file.save"), onSelect: onSaveProject },
{ label: t("menu.native.saveAs"), onSelect: onSaveProjectAs },
{ label: t("menu.native.restoreBackup"), onSelect: onRestoreBackup },
{ divider: true },
{ label: t("file.import"), onSelect: onImport },
...(onImportPointCloud ? [{ label: t("menu.native.importPointCloud"), onSelect: onImportPointCloud }] : []),