Fixes in ecode saveProject.

This commit is contained in:
Martín Lucas Golini
2024-06-09 14:37:37 -03:00
parent 4084602325
commit cdc7013191
2 changed files with 9 additions and 3 deletions

View File

@@ -2195,10 +2195,11 @@ bool App::isUnlockedCommand( const std::string& command ) {
}
void App::saveProject() {
if ( !mCurrentProject.empty() )
if ( !mCurrentProject.empty() ) {
mConfig.saveProject( mCurrentProject, mSplitter, mConfigPath, mProjectDocConfig,
mProjectBuildManager ? mProjectBuildManager->getConfig()
: ProjectBuildConfiguration() );
}
}
void App::closeEditors() {