add tool to open system file browser to main toolbar
This commit is contained in:
parent
d3dc56a42f
commit
54fe060b5a
|
@ -321,6 +321,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
|||
KiBitmap( browse_files_xpm ) );
|
||||
|
||||
// Browse in file explorer
|
||||
browseMenu->AppendSeparator();
|
||||
AddMenuItem( browseMenu,
|
||||
ID_BROWSE_IN_FILE_EXPLORER,
|
||||
_( "&Browse Project Files" ),
|
||||
|
@ -507,6 +508,12 @@ void KICAD_MANAGER_FRAME::RecreateBaseHToolbar()
|
|||
KiScaledBitmap( reload_xpm, this ),
|
||||
_( "Refresh project tree" ) );
|
||||
|
||||
// Acces to the system file manager
|
||||
KiScaledSeparator( m_mainToolBar, this );
|
||||
m_mainToolBar->AddTool( ID_BROWSE_IN_FILE_EXPLORER, wxEmptyString,
|
||||
KiScaledBitmap( directory_browser_xpm, this ),
|
||||
_( "Open project directory in file explorer" ) );
|
||||
|
||||
// Create m_mainToolBar
|
||||
m_mainToolBar->Realize();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue