diff --git a/kicad/menubar.cpp b/kicad/menubar.cpp index 13adab1657..994b2602aa 100644 --- a/kicad/menubar.cpp +++ b/kicad/menubar.cpp @@ -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(); }