Fixed crash when starting gcode viewer on Linux
This commit is contained in:
parent
c94fb13369
commit
8d45b4c468
@ -823,7 +823,10 @@ bool GUI_App::on_init_inner()
|
||||
|
||||
mainframe = new MainFrame();
|
||||
// hide settings tabs after first Layout
|
||||
mainframe->select_tab(size_t(0));
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
if (is_editor())
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
mainframe->select_tab(size_t(0));
|
||||
|
||||
sidebar().obj_list()->init_objects(); // propagate model objects to object list
|
||||
// update_mode(); // !!! do that later
|
||||
|
Loading…
Reference in New Issue
Block a user