mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue