Eeschema: minor fix: ensure, after loading a schematic the sheet count is updated.
Fixes #16260 https://gitlab.com/kicad/code/kicad/-/issues/16260
This commit is contained in:
parent
fcc6dec0e4
commit
e5b27dbe32
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue