mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Do not safe data after restoring backup
This commit is contained in:
parent
79cebca9f0
commit
a7342f4619
3 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue