mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Use correct dir when writing project file before Save As.
This commit is contained in:
parent
bc30ee85c0
commit
e860f9f9a9
@ -542,8 +542,8 @@ int KICAD_MANAGER_CONTROL::SaveProjectAs( const TOOL_EVENT& aEvent )
|
||||
|
||||
wxString default_dir = m_frame->GetMruPath();
|
||||
|
||||
Prj().GetProjectFile().SaveToFile();
|
||||
Prj().GetLocalSettings().SaveToFile();
|
||||
Prj().GetProjectFile().SaveToFile( currentProjectDirPath );
|
||||
Prj().GetLocalSettings().SaveToFile( currentProjectDirPath );
|
||||
|
||||
if( default_dir == currentProjectDirPath
|
||||
|| default_dir == currentProjectDirPath + wxFileName::GetPathSeparator() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user