GCodeViewer -> Fixed layout when switching to/from gcode viewer state
This commit is contained in:
parent
0b1086f390
commit
2a78799f7e
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ void MainFrame::update_layout()
|
||||||
#if ENABLE_GCODE_VIEWER_AS_STATE
|
#if ENABLE_GCODE_VIEWER_AS_STATE
|
||||||
case ESettingsLayout::GCodeViewer:
|
case ESettingsLayout::GCodeViewer:
|
||||||
{
|
{
|
||||||
GetSizer()->Add(m_plater, 1, wxEXPAND);
|
m_main_sizer->Add(m_plater, 1, wxEXPAND);
|
||||||
m_plater->Show();
|
m_plater->Show();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue