DIALOG_TEXT_PROPERTIES: hide visibility option, because this option exists only for footprint texts, and do nothing for other texts.

Texts on board (not on footprints) cannot be invisible, at least in 5.0 and previous versions.
This commit is contained in:
jean-pierre charras 2018-12-02 10:30:48 +01:00
parent d607c4853d
commit 5eb5b5ce58
2 changed files with 1691 additions and 1686 deletions

File diff suppressed because it is too large Load Diff

View File

@ -107,6 +107,11 @@ DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent, BO
m_SingleLineSizer->Show( false ); m_SingleLineSizer->Show( false );
m_DimensionTextSizer->Show( false ); m_DimensionTextSizer->Show( false );
// This option make sense only for footprint texts,
// Texts on board are always visible:
m_Visible->SetValue( true );
m_Visible->Show( false );
m_KeepUpright->Show( false ); m_KeepUpright->Show( false );
m_statusLine->Show( false ); m_statusLine->Show( false );
} }