From 46f47adebed23317a357942d36938ae51d66960e Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 9 Jul 2019 12:38:10 +0100 Subject: [PATCH] Update symbols after assigning different LIB_IDs. Fixes: lp:1835612 * https://bugs.launchpad.net/kicad/+bug/1835612 --- eeschema/tools/sch_editor_control.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeschema/tools/sch_editor_control.cpp b/eeschema/tools/sch_editor_control.cpp index d81630db84..abb37f044d 100644 --- a/eeschema/tools/sch_editor_control.cpp +++ b/eeschema/tools/sch_editor_control.cpp @@ -1018,8 +1018,9 @@ int SCH_EDITOR_CONTROL::EditSymbolFields( const TOOL_EVENT& aEvent ) int SCH_EDITOR_CONTROL::EditSymbolLibraryLinks( const TOOL_EVENT& aEvent ) { - InvokeDialogEditComponentsLibId( m_frame ); - m_frame->GetCanvas()->Refresh( true ); + if( InvokeDialogEditComponentsLibId( m_frame ) ) + m_frame->HardRedraw(); + return 0; }