mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Use _engine_ready to detect if there is a QML engine
We already have this variable. Let's not use a private variable from another class.
This commit is contained in:
parent
715eda4f59
commit
2023973e98
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class BuildVolume(SceneNode):
|
||||||
if not self._width or not self._height or not self._depth:
|
if not self._width or not self._height or not self._depth:
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self._application._qml_engine:
|
if not self._engine_ready:
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self._volume_outline_color:
|
if not self._volume_outline_color:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue