diff --git a/src/lib_gui/qt/view/graphElements/QtGraphNode.cpp b/src/lib_gui/qt/view/graphElements/QtGraphNode.cpp index d538ba0b..4ffb8edd 100644 --- a/src/lib_gui/qt/view/graphElements/QtGraphNode.cpp +++ b/src/lib_gui/qt/view/graphElements/QtGraphNode.cpp @@ -419,7 +419,7 @@ void QtGraphNode::setStyle(const GraphViewStyle::NodeStyle& style) m_undefinedRect->setRadius(radius); } - if (style.iconPath.size()) + if (!m_icon && style.iconPath.size()) { QtDeviceScaledPixmap pixmap(QString::fromStdString(style.iconPath)); pixmap.scaleToHeight(style.iconSize);