mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-16 07:22:10 +00:00
Fix issue that unable to open 3mf again once the 3mf action dialog is cancelled (#14715)
This commit is contained in:
@@ -12212,8 +12212,9 @@ void Plater::load_project(wxString const& filename2,
|
||||
BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << boost::format(": current loading other project, return directly");
|
||||
return;
|
||||
}
|
||||
else
|
||||
m_loading_project = true;
|
||||
|
||||
m_loading_project = true;
|
||||
ScopeGuard loading_project_sc([this]() { m_loading_project = false; }); // Make sure state restored on any early return
|
||||
|
||||
m_only_gcode = false;
|
||||
m_exported_file = false;
|
||||
@@ -12307,7 +12308,6 @@ void Plater::load_project(wxString const& filename2,
|
||||
sidebar().set_flushing_volume_warning(has_modify);
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << __LINE__ << " load project done";
|
||||
m_loading_project = false;
|
||||
}
|
||||
|
||||
// BBS: save logic
|
||||
|
||||
Reference in New Issue
Block a user