FIX: modify the text

Change-Id: If9d6d629288f9016b5d8abfaff5ee44c99d90e30
This commit is contained in:
zhimin.zeng 2022-09-09 09:38:26 +08:00 committed by Lane.Wei
parent 589e30e095
commit 4c063a8a32
3 changed files with 6 additions and 6 deletions

View file

@ -1382,7 +1382,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
_L("Warning"), wxICON_WARNING | wxYES | wxNO);
if (dlg.ShowModal() == wxID_YES) {
DynamicPrintConfig new_conf = *m_config;
new_conf.set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(TimelapseType::tlClose));
new_conf.set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(TimelapseType::tlNone));
m_config_manipulation.apply(m_config, &new_conf);
wxGetApp().plater()->update();
}
@ -1409,7 +1409,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
}
else {
DynamicPrintConfig new_conf = *m_config;
new_conf.set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(TimelapseType::tlClose));
new_conf.set_key_value("timelapse_type", new ConfigOptionEnum<TimelapseType>(TimelapseType::tlNone));
m_config_manipulation.apply(m_config, &new_conf);
}
} else {