Only update properties from a "real" project.
Fixes https://gitlab.com/kicad/code/kicad/issues/6268
This commit is contained in:
parent
e4865ce543
commit
839d31d427
|
@ -1441,7 +1441,9 @@ std::set<wxString> BOARD::GetNetClassAssignmentCandidates() const
|
|||
|
||||
void BOARD::SynchronizeProperties()
|
||||
{
|
||||
if( m_project )
|
||||
wxCHECK( m_project, /*void*/ );
|
||||
|
||||
if( !m_project->IsNullProject() )
|
||||
SetProperties( m_project->GetTextVars() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue