Fixed a crash on GCodeViewer start: Update mode just for Editor

This commit is contained in:
YuSanka 2024-04-24 12:28:46 +02:00
parent 65f0806ef5
commit f49b85ab68

View File

@ -1413,7 +1413,8 @@ bool GUI_App::on_init_inner()
obj_list()->set_min_height();
update_mode(); // update view mode after fix of the object_list size
if (is_editor())
update_mode(); // update view mode after fix of the object_list size
show_printer_webview_tab();