mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 21:19:20 +00:00
Don't link a project to a board more than once
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6929
This commit is contained in:
parent
a4ab596b8d
commit
5c8927678a
@ -139,6 +139,9 @@ void BOARD::BuildConnectivity()
|
||||
|
||||
void BOARD::SetProject( PROJECT* aProject )
|
||||
{
|
||||
if( m_project )
|
||||
ClearProject();
|
||||
|
||||
m_project = aProject;
|
||||
|
||||
if( aProject )
|
||||
|
Loading…
Reference in New Issue
Block a user