From 1e030655cd57662806505690006ca94ed33fce57 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 26 Jan 2021 21:58:17 -0500 Subject: [PATCH] Always create project when doing a Save As on a board with a project --- pcbnew/files.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index e3b0e5c166..f169bb7013 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -251,6 +251,8 @@ bool AskSaveBoardFileName( PCB_EDIT_FRAME* aParent, wxString* aFileName, bool* a if( wxWindow* extraControl = dlg.GetExtraControl() ) *aCreateProject = static_cast( extraControl )->GetValue(); + else if( Kiface().IsSingle() && !aParent->Prj().IsNullProject() ) + *aCreateProject = true; return true; }