mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Fix data saving before making a backup
CURA-6471
This commit is contained in:
parent
ce9f3c9bcc
commit
4876d5af00
3 changed files with 11 additions and 7 deletions
|
@ -51,8 +51,8 @@ class BackupsManager:
|
|||
## Here we try to disable the auto-save plug-in as it might interfere with
|
||||
# restoring a back-up.
|
||||
def _disableAutoSave(self) -> None:
|
||||
self._application.setSaveDataEnabled(False)
|
||||
self._application.getAutoSave().setEnabled(False)
|
||||
|
||||
## Re-enable auto-save after we're done.
|
||||
def _enableAutoSave(self) -> None:
|
||||
self._application.setSaveDataEnabled(True)
|
||||
self._application.getAutoSave().setEnabled(True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue