Always create project when doing a Save As on a board with a project
This commit is contained in:
parent
bea310569b
commit
1e030655cd
|
@ -251,6 +251,8 @@ bool AskSaveBoardFileName( PCB_EDIT_FRAME* aParent, wxString* aFileName, bool* a
|
|||
|
||||
if( wxWindow* extraControl = dlg.GetExtraControl() )
|
||||
*aCreateProject = static_cast<CREATE_PROJECT_CHECKBOX*>( extraControl )->GetValue();
|
||||
else if( Kiface().IsSingle() && !aParent->Prj().IsNullProject() )
|
||||
*aCreateProject = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue