Setup default colors in the COLOR_SWATCHes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17517
This commit is contained in:
parent
a3f3da5a7d
commit
90566eb735
|
@ -107,6 +107,7 @@ bool DIALOG_TABLECELL_PROPERTIES::TransferDataToWindow()
|
|||
|
||||
m_textColorBook->SetSelection( 1 );
|
||||
m_textColorSwatch->SetSwatchColor( cell->GetTextColor(), false );
|
||||
m_textColorSwatch->SetDefaultColor( COLOR4D::UNSPECIFIED );
|
||||
|
||||
m_fillColorBook->SetSelection( 1 );
|
||||
|
||||
|
@ -115,6 +116,8 @@ bool DIALOG_TABLECELL_PROPERTIES::TransferDataToWindow()
|
|||
else
|
||||
m_fillColorSwatch->SetSwatchColor( COLOR4D::UNSPECIFIED, false );
|
||||
|
||||
m_fillColorSwatch->SetDefaultColor( COLOR4D::UNSPECIFIED );
|
||||
|
||||
m_marginLeft.SetValue( cell->GetMarginLeft() );
|
||||
m_marginTop.SetValue( cell->GetMarginTop() );
|
||||
m_marginRight.SetValue( cell->GetMarginRight() );
|
||||
|
|
Loading…
Reference in New Issue