1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml
index 58e0a2a9..f645162c 100644
--- a/resources/qml/ImageButton.qml
+++ b/resources/qml/ImageButton.qml
@@ -19,7 +19,7 @@ AbstractButton {
// Workaround, can't get icon.source working for now...
anchors.fill: parent
- source: "image://colorimage/" + image + "?" + ((button.hovered && changeColorOnHover) ? highlightColor : buttonTextColor)
+ source: image != "" ? ("image://colorimage/" + image + "?" + ((button.hovered && changeColorOnHover) ? highlightColor : buttonTextColor)) : ""
}
MouseArea {
|