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:
parent
d607c4853d
commit
5eb5b5ce58
File diff suppressed because it is too large
Load Diff
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue