eeschema: Properly set bold and italic properties in global text edit dialog
Fixes https://gitlab.com/kicad/code/kicad/issues/3963
This commit is contained in:
parent
a28f58d14d
commit
c31089d9f4
|
@ -230,13 +230,13 @@ void DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem( const SCH_SHEET_PATH& aS
|
|||
|
||||
if( m_Italic->Get3StateValue() != wxCHK_UNDETERMINED )
|
||||
{
|
||||
eda_text->SetItalic( m_Visible->GetValue() );
|
||||
eda_text->SetItalic( m_Italic->GetValue() );
|
||||
m_hasChange = true;
|
||||
}
|
||||
|
||||
if( m_Bold->Get3StateValue() != wxCHK_UNDETERMINED )
|
||||
{
|
||||
eda_text->SetBold( m_Visible->GetValue() );
|
||||
eda_text->SetBold( m_Bold->GetValue() );
|
||||
m_hasChange = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue