Follow-up of 2afdc66dfb - Added missing use case

This commit is contained in:
enricoturri1966 2021-10-06 15:46:01 +02:00
parent 2afdc66dfb
commit dbad87fb42

View File

@ -506,6 +506,8 @@ void Preview::on_combochecklist_options(wxCommandEvent& evt)
const unsigned int diff_flags = curr_flags ^ new_flags;
if ((diff_flags & (1 << static_cast<unsigned int>(Preview::OptionType::Travel))) != 0)
refresh_print();
else
m_canvas->refresh_gcode_preview_render_paths();
}
else
m_canvas->refresh_gcode_preview_render_paths();