mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Hides view toolbar in gcode viewer
This commit is contained in:
parent
659c24d3d8
commit
ea9a8b7e93
2 changed files with 5 additions and 2 deletions
|
@ -4001,7 +4001,11 @@ bool Plater::priv::init_view_toolbar()
|
|||
return false;
|
||||
|
||||
view_toolbar.select_item("3D");
|
||||
view_toolbar.set_enabled(true);
|
||||
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
if (wxGetApp().is_editor())
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
view_toolbar.set_enabled(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue