mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: Trigger project restore when opening local files
Jira: STUDIO-13977 Change-Id: I9f3a14bbc699337f11e2f44464525c183e4ebce8 (cherry picked from commit 2ce94980f15b2cd19e735a1c723bb7eae45be859)
This commit is contained in:
@@ -902,10 +902,10 @@ void GUI_App::post_init()
|
|||||||
if (app_config->get("default_page") == "1")
|
if (app_config->get("default_page") == "1")
|
||||||
mainframe->select_tab(size_t(1));
|
mainframe->select_tab(size_t(1));
|
||||||
mainframe->Thaw();
|
mainframe->Thaw();
|
||||||
plater_->trigger_restore_project(1);
|
|
||||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ", end load_gl_resources";
|
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ", end load_gl_resources";
|
||||||
}
|
}
|
||||||
//#endif
|
plater_->trigger_restore_project(1);
|
||||||
|
//#endif
|
||||||
|
|
||||||
//BBS: remove GCodeViewer as seperate APP logic
|
//BBS: remove GCodeViewer as seperate APP logic
|
||||||
/*if (this->init_params->start_as_gcodeviewer) {
|
/*if (this->init_params->start_as_gcodeviewer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user