Eeschema: fix bug: append schematic does not update canvas

Fixes: lp:1800144
https://bugs.launchpad.net/kicad/+bug/1800144
This commit is contained in:
jean-pierre charras 2018-10-26 16:42:14 +02:00
parent b075e76ede
commit d953724365
1 changed files with 1 additions and 2 deletions

View File

@ -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;