mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Retain binding with isValidMaterial on hover
So that if a material becomes valid, it updates this property. Contributes to issue CURA-6033.
This commit is contained in:
parent
c8994102da
commit
e8ea742cf6
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,7 @@ Button
|
|||
id: configurationItem
|
||||
|
||||
property var configuration: null
|
||||
hoverEnabled: true
|
||||
hoverEnabled: isValidMaterial
|
||||
|
||||
property bool isValidMaterial:
|
||||
{
|
||||
|
@ -24,7 +24,6 @@ Button
|
|||
|
||||
if (name == "" || name == "Unknown")
|
||||
{
|
||||
hoverEnabled = false
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue