mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Missing half of last open jobset commit
This commit is contained in:
parent
2c56e9826a
commit
d033b7bebb
@ -422,6 +422,7 @@ void KICAD_MANAGER_FRAME::setupUIConditions()
|
||||
manager->SetConditions( ACTIONS::saveAs, activeProjectCond );
|
||||
manager->SetConditions( KICAD_MANAGER_ACTIONS::closeProject, activeProjectCond );
|
||||
manager->SetConditions( KICAD_MANAGER_ACTIONS::newJobsetFile, activeProjectCond );
|
||||
manager->SetConditions( KICAD_MANAGER_ACTIONS::openJobsetFile, activeProjectCond );
|
||||
|
||||
// These are just here for text boxes, search boxes, etc. in places such as the standard
|
||||
// file dialogs.
|
||||
|
@ -84,6 +84,7 @@ void KICAD_MANAGER_FRAME::doReCreateMenuBar()
|
||||
if( ADVANCED_CFG::GetCfg().m_EnableJobset )
|
||||
{
|
||||
fileMenu->Add( KICAD_MANAGER_ACTIONS::newJobsetFile );
|
||||
fileMenu->Add( KICAD_MANAGER_ACTIONS::openJobsetFile );
|
||||
}
|
||||
|
||||
if( wxDir::Exists( PATHS::GetStockDemosPath() ) )
|
||||
|
@ -423,7 +423,7 @@ int KICAD_MANAGER_CONTROL::OpenProject( const TOOL_EVENT& aEvent )
|
||||
int KICAD_MANAGER_CONTROL::OpenJobsetFile( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
wxString default_dir = wxFileName( Prj().GetProjectFullName() ).GetPathWithSep();
|
||||
wxFileDialog dlg( m_frame, _( "Create New Jobset" ), default_dir, wxEmptyString,
|
||||
wxFileDialog dlg( m_frame, _( "Open Jobset" ), default_dir, wxEmptyString,
|
||||
FILEEXT::JobsetFileWildcard(), wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||
|
||||
if( dlg.ShowModal() == wxID_CANCEL )
|
||||
|
Loading…
x
Reference in New Issue
Block a user