FIX: fix modify preset can't save and add log

Jira: STUDIO-4688

Change-Id: Idbbaf2cdb2ce5f00da0e97ddac99c9661c787f40
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
This commit is contained in:
maosheng.wei
2023-10-13 14:53:14 +08:00
committed by Lane.Wei
parent 75769461f4
commit 2b07afcdba
3 changed files with 31 additions and 10 deletions

View File

@@ -41,7 +41,8 @@ void ProjectDirtyStateManager::update_from_presets()
m_presets_dirty |= !m_initial_presets[type].empty() && m_initial_presets[type] != name;
}
}
} else {
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "project file name is empty";
}
m_presets_dirty |= app.has_unsaved_preset_changes();
m_project_config_dirty = m_initial_project_config != app.preset_bundle->project_config;