Fix an issue with setting the Reference and Value of a module.
The bug was revealed on re-opening the saved version of a file imported by pcad2kicadpcb.
This commit is contained in:
parent
781cc00aca
commit
2b25beb074
|
@ -540,7 +540,7 @@ void PCB_MODULE::AddToBoard()
|
|||
TEXTE_MODULE* val_text = &module->Value();
|
||||
|
||||
val_text->SetText( m_value.text );
|
||||
val_text->SetType( TEXTE_MODULE::TEXT_is_REFERENCE );
|
||||
val_text->SetType( TEXTE_MODULE::TEXT_is_VALUE );
|
||||
|
||||
val_text->SetPos0( wxPoint( m_value.correctedPositionX, m_value.correctedPositionY ) );
|
||||
val_text->SetSize( wxSize( KiROUND( m_value.textHeight / 2 ),
|
||||
|
|
Loading…
Reference in New Issue