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