mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't refresh appearance panel until after project is loaded
This commit is contained in:
parent
aa84bd6283
commit
0fa755ebb8
@ -306,8 +306,6 @@ bool PCB_EDIT_FRAME::Files_io_from_id( int id )
|
||||
// Don't set name until the user hits save, so project files are not created
|
||||
mgr->LoadProject( "" );
|
||||
|
||||
m_appearancePanel->OnBoardChanged();
|
||||
|
||||
LoadProjectSettings();
|
||||
|
||||
if( !Clear_Pcb( false ) )
|
||||
|
@ -1008,6 +1008,8 @@ void PCB_EDIT_FRAME::onBoardLoaded()
|
||||
|
||||
SetElementVisibility( LAYER_RATSNEST, GetDisplayOptions().m_ShowGlobalRatsnest );
|
||||
|
||||
m_appearancePanel->OnBoardChanged();
|
||||
|
||||
// Update the tracks / vias available sizes list:
|
||||
ReCreateAuxiliaryToolbar();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user