FIX: Trigger project restore when opening local files

Jira: STUDIO-13977
Change-Id: I9f3a14bbc699337f11e2f44464525c183e4ebce8
(cherry picked from commit 2ce94980f15b2cd19e735a1c723bb7eae45be859)
This commit is contained in:
weiting.ji 2025-10-09 14:54:25 +08:00 committed by Noisyfox
parent 5f26bc9e6e
commit 7eaabc4856

View file

@ -902,10 +902,10 @@ void GUI_App::post_init()
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";
}
//#endif
plater_->trigger_restore_project(1);
//#endif
//BBS: remove GCodeViewer as seperate APP logic
/*if (this->init_params->start_as_gcodeviewer) {