Merge pull request #3487

b2fbe51 StandardButton: fix warning with fallbackicon (selsta)
This commit is contained in:
luigi1111 2021-07-06 11:39:19 -04:00
commit 21cce4cfb4
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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