Prevent exception being logged if no backups window was created

CURA-8313
This commit is contained in:
Konstantinos Karmas 2021-06-25 09:52:48 +02:00
parent 4435a10f9d
commit d35f018729

View file

@ -81,6 +81,7 @@ class DrivePluginExtension(QObject, Extension):
self._drive_window.show()
def _onApplicationShuttingDown(self):
if self._drive_window:
self._drive_window.hide()
def _autoBackup(self) -> None: