Make sure board design settings get updated when switching boards.
Fixes https://gitlab.com/kicad/code/kicad/issues/5129
This commit is contained in:
parent
84425f5a40
commit
fad18dccd5
|
@ -114,6 +114,7 @@ bool FOOTPRINT_EDIT_FRAME::Clear_Pcb( bool aQuery )
|
||||||
|
|
||||||
BOARD* board = new BOARD;
|
BOARD* board = new BOARD;
|
||||||
|
|
||||||
|
board->GetDesignSettings() = GetDesignSettings();
|
||||||
board->SynchronizeNetsAndNetClasses();
|
board->SynchronizeNetsAndNetClasses();
|
||||||
SetBoard( board );
|
SetBoard( board );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue