diff --git a/src/drawtypes/progressbar.cpp b/src/drawtypes/progressbar.cpp index 45b430b1..37814851 100644 --- a/src/drawtypes/progressbar.cpp +++ b/src/drawtypes/progressbar.cpp @@ -73,7 +73,7 @@ namespace drawtypes { if (i % m_colorstep == 0 && color < m_colors.size()) { m_fill->m_foreground = m_colors[color++]; } - m_builder->node(m_fill->get()); + m_builder->node(m_fill); } } else { size_t color = math_util::percentage_to_value(perc, m_colors.size() - 1);