Add default page selection (#2569)

Add option to change default page
This commit is contained in:
Ocraftyone
2023-11-02 06:28:13 -04:00
committed by GitHub
parent 61e05f9bd1
commit d574816aef
3 changed files with 9 additions and 0 deletions

View File

@@ -1107,6 +1107,8 @@ void GUI_App::post_init()
//#endif
if (is_editor())
mainframe->select_tab(size_t(0));
if (app_config->get("default_page") == "1")
mainframe->select_tab(size_t(1));
mainframe->Thaw();
plater_->trigger_restore_project(1);
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ", end load_gl_resources";