mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 15:39:17 +00:00
Eeschema: fix broken symbol library links after sheet edit.
Refresh the currently edit sheet screen symbol links when the sheet file name is changed. https://bugs.launchpad.net/kicad/+bug/1830315 Fixes lp:1830315
This commit is contained in:
parent
f59a2410fa
commit
133ff9b552
@ -253,6 +253,11 @@ bool SCH_EDIT_FRAME::EditSheet( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy,
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
SCH_SCREEN* screen = aSheet->GetScreen();
|
||||
|
||||
if( screen )
|
||||
screen->UpdateSymbolLinks( true );
|
||||
}
|
||||
|
||||
aSheet->SetFileNameSize( dlg.GetFileNameTextSize() );
|
||||
|
Loading…
Reference in New Issue
Block a user