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
|
#ifdef PROFILE
|
||||||
openFiles.Show();
|
openFiles.Show();
|
||||||
#endif
|
#endif
|
||||||
|
// Ensure all items are redrawn (especially the drawing-sheet items):
|
||||||
|
if( GetCanvas() )
|
||||||
|
GetCanvas()->DisplaySheet( GetCurrentSheet().LastScreen() );
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue