GCodeViewer -> Fixed layout when switching to/from gcode viewer state

This commit is contained in:
enricoturri1966 2020-07-03 13:04:52 +02:00
parent 0b1086f390
commit 2a78799f7e

View File

@ -389,7 +389,7 @@ void MainFrame::update_layout()
#if ENABLE_GCODE_VIEWER_AS_STATE
case ESettingsLayout::GCodeViewer:
{
GetSizer()->Add(m_plater, 1, wxEXPAND);
m_main_sizer->Add(m_plater, 1, wxEXPAND);
m_plater->Show();
break;
}