restore backup opens the backup dir

This commit is contained in:
tildearrow 2023-04-06 15:16:52 -05:00
parent 02450b8683
commit 8c55076177
4 changed files with 21 additions and 12 deletions

View file

@ -50,9 +50,7 @@ void FurnaceGUI::doAction(int what) {
if (modified) {
showWarning("Unsaved changes! Save changes before opening backup?",GUI_WARN_OPEN_BACKUP);
} else {
if (load(backupPath)>0) {
showError("No backup available! (or unable to open it)");
}
openFileDialog(GUI_FILE_OPEN_BACKUP);
}
break;
case GUI_ACTION_SAVE: