add font color of the conductors

This commit is contained in:
Simon De Backer
2020-06-20 16:27:25 +02:00
committed by Laurent Trinques
parent 53447b41c9
commit ddf88bbed7
5 changed files with 225 additions and 194 deletions

View File

@@ -1552,6 +1552,7 @@ void Conductor::setProperties(const ConductorProperties &property)
QFont font = m_text_item->font();
font.setPointSize(m_properties.text_size);
m_text_item->setFont(font);
m_text_item->setColor(m_properties.text_color);
if (m_properties.type != ConductorProperties::Multi)
m_text_item->setVisible(false);