From 686a9de143774d0b4876cd2549f97a8bc4ac0354 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 28 Oct 2023 14:49:20 -0500 Subject: [PATCH] discourage use of backup system for auto-save --- doc/2-interface/menu-bar.md | 1 + src/gui/gui.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/2-interface/menu-bar.md b/doc/2-interface/menu-bar.md index bb3a520cb..6d6b899bc 100644 --- a/doc/2-interface/menu-bar.md +++ b/doc/2-interface/menu-bar.md @@ -49,6 +49,7 @@ items in _italic_ don't appear in basic mode and are only available in advanced - macOS: `~/Library/Application Support/Furnace/backups` - Linux/other: `~/.config/furnace/backups` - this directory grows in size as you use Furnace. remember to delete old backups periodically to save space. + - **do NOT rely on the backup system as auto-save!** you should save a restored backup because Furnace will not save backups of backups. - **exit**: closes Furnace. diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 6dedb529c..2a4bc8a0a 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -2237,6 +2237,9 @@ int FurnaceGUI::load(String path) { if (settings.playOnLoad==2 || (settings.playOnLoad==1 && wasPlaying)) { play(); } + } else { + // warn the user + showWarning("you have loaded a backup!\nif you need to, please save it somewhere.\n\nDO NOT RELY ON THE BACKUP SYSTEM FOR AUTO-SAVE!\nFurnace will not save backups of backups.",GUI_WARN_GENERIC); } return 0; }