FIX: operated an iter cause crash
Change-Id: I70fcbb4f0387bd7fd0344e31ac5acbd45c635f44
This commit is contained in:
parent
ef109ca170
commit
751f318675
|
@ -1205,9 +1205,9 @@ void IMSlider::render_menu() {
|
||||||
m_ticks.ticks.end();
|
m_ticks.ticks.end();
|
||||||
std::string custom_code;
|
std::string custom_code;
|
||||||
if (tick_it != m_ticks.ticks.end()) {
|
if (tick_it != m_ticks.ticks.end()) {
|
||||||
render_edit_menu(*tick_it);
|
|
||||||
if (tick_it->type == CustomGCode::Custom)
|
if (tick_it->type == CustomGCode::Custom)
|
||||||
custom_code = tick_it->extra;
|
custom_code = tick_it->extra;
|
||||||
|
render_edit_menu(*tick_it);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
render_add_menu();
|
render_add_menu();
|
||||||
|
|
Loading…
Reference in New Issue