Do not safe data after restoring backup

This commit is contained in:
ChrisTerBeke 2018-05-11 17:13:40 +02:00
parent 79cebca9f0
commit a7342f4619
3 changed files with 8 additions and 4 deletions

View file

@ -34,6 +34,9 @@ class Backup:
Logger.log("d", "Creating backup for Cura %s, using folder %s", cura_release, version_data_dir)
# Ensure all current settings are saved.
CuraApplication.getInstance().saveSettings()
# We're using an easy to parse filename for when we're restoring edge cases:
# TIMESTAMP.backup.VERSION.cura.zip
archive = self._makeArchive(version_data_dir)