StandardButton: fix warning with fallbackicon

This commit is contained in:
selsta
2021-05-19 02:01:10 +02:00
parent 937cb98256
commit b2fbe51659

View File

@@ -143,6 +143,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;
} }