Fix errors related to button.loading
This commit is contained in:
parent
2cf7b91829
commit
e91a1f93e0
|
@ -11,7 +11,7 @@ Rectangle {
|
||||||
|
|
||||||
color: buttonTheme.background
|
color: buttonTheme.background
|
||||||
opacity:
|
opacity:
|
||||||
loading ? theme.loadingElementsOpacity :
|
button.loading ? theme.loadingElementsOpacity :
|
||||||
enabled ? 1 :
|
enabled ? 1 :
|
||||||
theme.disabledElementsOpacity
|
theme.disabledElementsOpacity
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import QtQuick.Layouts 1.12
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
id: buttonContent
|
id: buttonContent
|
||||||
spacing: button.spacing
|
spacing: button.spacing
|
||||||
opacity: loading ? theme.loadingElementsOpacity :
|
opacity: button.loading ? theme.loadingElementsOpacity :
|
||||||
enabled ? 1 : theme.disabledElementsOpacity
|
enabled ? 1 : theme.disabledElementsOpacity
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user