mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Prevent exception being logged if no backups window was created
CURA-8313
This commit is contained in:
parent
4435a10f9d
commit
d35f018729
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ class DrivePluginExtension(QObject, Extension):
|
||||||
self._drive_window.show()
|
self._drive_window.show()
|
||||||
|
|
||||||
def _onApplicationShuttingDown(self):
|
def _onApplicationShuttingDown(self):
|
||||||
self._drive_window.hide()
|
if self._drive_window:
|
||||||
|
self._drive_window.hide()
|
||||||
|
|
||||||
def _autoBackup(self) -> None:
|
def _autoBackup(self) -> None:
|
||||||
preferences = CuraApplication.getInstance().getPreferences()
|
preferences = CuraApplication.getInstance().getPreferences()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue