mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 15:33:16 +08:00
FIX: wrong desp for color scheme
jira: STUDIO-11215 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Iaf78c825cbc99a43c4614e20ea9fdc683cf11784
This commit is contained in:
parent
582e80c9f4
commit
aca4968ab7
@ -926,10 +926,10 @@ void GCodeViewer::init(ConfigOptionMode mode, PresetBundle* preset_bundle)
|
||||
|
||||
// set to color print by default if use multi extruders
|
||||
if (m_nozzle_nums > 1) {
|
||||
m_view_type_sel = (int)EViewType::Summary;
|
||||
m_view_type_sel = std::distance(view_type_items.begin(),std::find(view_type_items.begin(), view_type_items.end(), EViewType::Summary));
|
||||
set_view_type(EViewType::Summary);
|
||||
} else {
|
||||
m_view_type_sel = (int)EViewType::ColorPrint;
|
||||
m_view_type_sel = std::distance(view_type_items.begin(),std::find(view_type_items.begin(), view_type_items.end(), EViewType::ColorPrint));
|
||||
set_view_type(EViewType::ColorPrint);
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(": finished");
|
||||
|
Loading…
x
Reference in New Issue
Block a user