Fix typo for updating library trees.

Fixes: lp:1794087
* https://bugs.launchpad.net/kicad/+bug/1794087
This commit is contained in:
Jeff Young 2018-09-24 15:30:32 +01:00
parent 3c86bc951a
commit efefbf0fa0
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ void InvokePcbLibTableEditor( KIWAY* aKiway, wxWindow* aCaller )
}
}
auto editor = (FOOTPRINT_EDIT_FRAME*) aKiway->Player( FRAME_SCH_LIB_EDITOR, false );
auto editor = (FOOTPRINT_EDIT_FRAME*) aKiway->Player( FRAME_PCB_MODULE_EDITOR, false );
if( editor )
editor->SyncLibraryTree( true );