StandardButton: fix warning with fallbackicon

This commit is contained in:
selsta 2021-05-19 02:01:10 +02:00
parent 937cb98256
commit b2fbe51659
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -143,6 +143,7 @@ Item {
width: button.small ? 16 : 20
height: button.small ? 16 : 20
source: {
if (fontAwesomeIcon) return "";
if(button.rightIconInactive !== "" && !button.enabled) {
return button.rightIconInactive;
}