|
@ -559,7 +559,7 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in |
|
|
GetBoard()->m_Status_Pcb = 0; |
|
|
GetBoard()->m_Status_Pcb = 0; |
|
|
|
|
|
|
|
|
// Update info shown by the horizontal toolbars
|
|
|
// Update info shown by the horizontal toolbars
|
|
|
GetDesignSettings().SetCurrentNetClass( NETCLASS::Default ); |
|
|
|
|
|
|
|
|
SetCurrentNetClass( NETCLASS::Default ); |
|
|
ReFillLayerWidget(); |
|
|
ReFillLayerWidget(); |
|
|
ReCreateLayerBox(); |
|
|
ReCreateLayerBox(); |
|
|
|
|
|
|
|
@ -573,9 +573,6 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in |
|
|
// See case RATSNEST_VISIBLE: in BOARD::SetElementVisibility()
|
|
|
// See case RATSNEST_VISIBLE: in BOARD::SetElementVisibility()
|
|
|
GetBoard()->SetVisibleElements( GetBoard()->GetVisibleElements() ); |
|
|
GetBoard()->SetVisibleElements( GetBoard()->GetVisibleElements() ); |
|
|
|
|
|
|
|
|
updateTraceWidthSelectBox(); |
|
|
|
|
|
updateViaSizeSelectBox(); |
|
|
|
|
|
|
|
|
|
|
|
// Display the loaded board:
|
|
|
// Display the loaded board:
|
|
|
Zoom_Automatique( false ); |
|
|
Zoom_Automatique( false ); |
|
|
|
|
|
|
|
@ -681,7 +678,7 @@ bool PCB_EDIT_FRAME::SavePcbFile( const wxString& aFileName, bool aCreateBackupF |
|
|
|
|
|
|
|
|
// Select default Netclass before writing file.
|
|
|
// Select default Netclass before writing file.
|
|
|
// Useful to save default values in headers
|
|
|
// Useful to save default values in headers
|
|
|
GetDesignSettings().SetCurrentNetClass( NETCLASS::Default ); |
|
|
|
|
|
|
|
|
SetCurrentNetClass( NETCLASS::Default ); |
|
|
|
|
|
|
|
|
ClearMsgPanel(); |
|
|
ClearMsgPanel(); |
|
|
|
|
|
|
|
|