Symbol library browser needs an infobar too
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12843
This commit is contained in:
parent
32b3f24f8b
commit
311741a9a3
|
@ -214,6 +214,8 @@ SYMBOL_VIEWER_FRAME::SYMBOL_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAM
|
||||||
|
|
||||||
m_auimgr.SetManagedWindow( this );
|
m_auimgr.SetManagedWindow( this );
|
||||||
|
|
||||||
|
CreateInfoBar();
|
||||||
|
|
||||||
// Manage main toolbar
|
// Manage main toolbar
|
||||||
m_auimgr.AddPane( m_mainToolBar, EDA_PANE().HToolbar().Name( "MainToolbar" ).Top().Layer(6) );
|
m_auimgr.AddPane( m_mainToolBar, EDA_PANE().HToolbar().Name( "MainToolbar" ).Top().Layer(6) );
|
||||||
m_auimgr.AddPane( m_messagePanel, EDA_PANE().Messages().Name( "MsgPanel" ) .Bottom().Layer(6) );
|
m_auimgr.AddPane( m_messagePanel, EDA_PANE().Messages().Name( "MsgPanel" ) .Bottom().Layer(6) );
|
||||||
|
@ -267,6 +269,8 @@ SYMBOL_VIEWER_FRAME::SYMBOL_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAM
|
||||||
treePane.MinSize( 100, -1 );
|
treePane.MinSize( 100, -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FinishAUIInitialization();
|
||||||
|
|
||||||
if( !IsModal() ) // For modal mode, calling ShowModal() will show this frame
|
if( !IsModal() ) // For modal mode, calling ShowModal() will show this frame
|
||||||
{
|
{
|
||||||
Raise();
|
Raise();
|
||||||
|
|
Loading…
Reference in New Issue