mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 05:50:37 +08:00
Fixed crash when starting gcode viewer on Linux
This commit is contained in:
parent
c94fb13369
commit
8d45b4c468
@ -823,6 +823,9 @@ bool GUI_App::on_init_inner()
|
|||||||
|
|
||||||
mainframe = new MainFrame();
|
mainframe = new MainFrame();
|
||||||
// hide settings tabs after first Layout
|
// hide settings tabs after first Layout
|
||||||
|
#if ENABLE_GCODE_VIEWER
|
||||||
|
if (is_editor())
|
||||||
|
#endif // ENABLE_GCODE_VIEWER
|
||||||
mainframe->select_tab(size_t(0));
|
mainframe->select_tab(size_t(0));
|
||||||
|
|
||||||
sidebar().obj_list()->init_objects(); // propagate model objects to object list
|
sidebar().obj_list()->init_objects(); // propagate model objects to object list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user