Revert "Don't call @property function"

This reverts commit 3921cc86d1.
This commit is contained in:
Ghostkeeper 2021-01-28 12:22:47 +01:00
parent 3921cc86d1
commit 678516186e
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -250,7 +250,7 @@ class CuraEngineBackend(QObject, Backend):
@call_on_qt_thread # must be called from the main thread because of OpenGL
def _createSnapshot(self) -> None:
self._snapshot = None
if not CuraApplication.getInstance().isVisible:
if not CuraApplication.getInstance().isVisible():
Logger.log("w", "Attempt to create snapshot before complete initialization.")
return
Logger.log("i", "Creating thumbnail image (just before slice)...")