mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -06:00
Refactor some code
CURA-5612
This commit is contained in:
parent
38ce73365a
commit
20806eeb72
2 changed files with 6 additions and 7 deletions
|
@ -9,7 +9,7 @@ Component
|
|||
{
|
||||
Rectangle
|
||||
{
|
||||
id: rectangle
|
||||
id: monitorFrame
|
||||
width: maximumWidth
|
||||
height: maximumHeight
|
||||
color: UM.Theme.getColor("viewport_background")
|
||||
|
@ -107,7 +107,7 @@ Component
|
|||
|
||||
onVisibleChanged:
|
||||
{
|
||||
if(rectangle != null && !rectangle.visible)
|
||||
if (!monitorFrame.visible)
|
||||
{
|
||||
// After switching the Tab ensure that active printer is Null, the video stream image
|
||||
// might be active
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue