Eeschema: fix bug: append schematic does not update canvas
Fixes: lp:1800144 https://bugs.launchpad.net/kicad/+bug/1800144
This commit is contained in:
parent
b075e76ede
commit
d953724365
|
@ -613,7 +613,6 @@ bool SCH_EDIT_FRAME::AppendSchematic()
|
|||
}
|
||||
|
||||
// It is finally safe to add the imported schematic.
|
||||
// fixme-gal: rebuild view
|
||||
screen->Append( newScreen );
|
||||
|
||||
SCH_SCREENS allScreens;
|
||||
|
@ -631,7 +630,7 @@ bool SCH_EDIT_FRAME::AppendSchematic()
|
|||
SetSheetNumberAndCount();
|
||||
|
||||
SyncView();
|
||||
GetCanvas()->Refresh();
|
||||
HardRedraw(); // Full reinit of the current screen and the display.
|
||||
OnModify();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue