ENH: presets: add more logs to debug some issues

jira: no-jira
Change-Id: I84dd4eb8fb32bde2ebcefccfb89fa53d64b3ef7f
(cherry picked from commit d09e0233683f951cb52e1dc5809dda5d3284f655)
This commit is contained in:
lane.wei
2025-01-17 15:34:46 +08:00
committed by Noisyfox
parent d04f09fa18
commit 6ce74ddd6b
3 changed files with 36 additions and 21 deletions

View File

@@ -5003,7 +5003,7 @@ void Tab::reactive_preset_combo_box()
// Initialize the UI from the current preset
void Tab::load_current_preset()
{
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<<boost::format(": enter");
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<<boost::format(": enter, m_type %1%")%Preset::get_type_string(m_type);
const Preset& preset = m_presets->get_edited_preset();
int previous_extruder_count = 0;