mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -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
|
@ -44,7 +44,8 @@ class BackupsManager:
|
|||
restored = backup.restore()
|
||||
if restored:
|
||||
# At this point, Cura will need to restart for the changes to take effect.
|
||||
CuraApplication.getInstance().windowClosed()
|
||||
# We don't want to store the data at this point as that would override the just-restored backup.
|
||||
CuraApplication.getInstance().windowClosed(safe_data=False)
|
||||
|
||||
def _disableAutoSave(self):
|
||||
"""Here we try to disable the auto-save plugin as it might interfere with restoring a backup."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue