GCodeViewer -> Fixed synchronization between legend and bottom toolbar

This commit is contained in:
enricoturri1966 2020-04-28 09:09:24 +02:00
parent 2a4d011817
commit a77461b467
3 changed files with 5 additions and 2 deletions

View file

@ -3216,6 +3216,7 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
{
m_gcode_viewer.enable_legend(!m_gcode_viewer.is_legend_enabled());
m_dirty = true;
wxGetApp().plater()->update_preview_bottom_toolbar();
}
break;
}