Sort root symbols by name in new symbol dialog
Fixes https://gitlab.com/kicad/code/kicad/issues/5910
This commit is contained in:
parent
88abcc1287
commit
123fe5a887
|
@ -457,6 +457,8 @@ void SYMBOL_EDIT_FRAME::CreateNewPart()
|
||||||
|
|
||||||
m_libMgr->GetRootSymbolNames( lib, rootSymbols );
|
m_libMgr->GetRootSymbolNames( lib, rootSymbols );
|
||||||
|
|
||||||
|
rootSymbols.Sort();
|
||||||
|
|
||||||
DIALOG_LIB_NEW_COMPONENT dlg( this, &rootSymbols );
|
DIALOG_LIB_NEW_COMPONENT dlg( this, &rootSymbols );
|
||||||
dlg.SetMinSize( dlg.GetSize() );
|
dlg.SetMinSize( dlg.GetSize() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue