mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 12:13:14 +08:00
Don't call @property function
It directly returns the boolean. No need to call it. Calling it crashes saying that a bool object can't be called.
This commit is contained in:
parent
35d6aad6cd
commit
3921cc86d1
@ -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)...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user