mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
add font color of the conductors
This commit is contained in:
committed by
Laurent Trinques
parent
53447b41c9
commit
ddf88bbed7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user