7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Eeschema: minor fix: ensure, after loading a schematic the sheet count is updated.

Fixes 
https://gitlab.com/kicad/code/kicad/-/issues/16260
This commit is contained in:
jean-pierre charras 2023-12-05 09:58:25 +01:00
parent fcc6dec0e4
commit e5b27dbe32

View File

@ -581,6 +581,9 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
#ifdef PROFILE
openFiles.Show();
#endif
// Ensure all items are redrawn (especially the drawing-sheet items):
if( GetCanvas() )
GetCanvas()->DisplaySheet( GetCurrentSheet().LastScreen() );
return true;
}