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.
|
// It is finally safe to add the imported schematic.
|
||||||
// fixme-gal: rebuild view
|
|
||||||
screen->Append( newScreen );
|
screen->Append( newScreen );
|
||||||
|
|
||||||
SCH_SCREENS allScreens;
|
SCH_SCREENS allScreens;
|
||||||
|
@ -631,7 +630,7 @@ bool SCH_EDIT_FRAME::AppendSchematic()
|
||||||
SetSheetNumberAndCount();
|
SetSheetNumberAndCount();
|
||||||
|
|
||||||
SyncView();
|
SyncView();
|
||||||
GetCanvas()->Refresh();
|
HardRedraw(); // Full reinit of the current screen and the display.
|
||||||
OnModify();
|
OnModify();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue