mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:59:00 +08:00
Prevent exception being logged if no backups window was created
CURA-8313
This commit is contained in:
parent
4435a10f9d
commit
d35f018729
@ -81,7 +81,8 @@ class DrivePluginExtension(QObject, Extension):
|
||||
self._drive_window.show()
|
||||
|
||||
def _onApplicationShuttingDown(self):
|
||||
self._drive_window.hide()
|
||||
if self._drive_window:
|
||||
self._drive_window.hide()
|
||||
|
||||
def _autoBackup(self) -> None:
|
||||
preferences = CuraApplication.getInstance().getPreferences()
|
||||
|
Loading…
x
Reference in New Issue
Block a user