mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: [STUDIO-2213] project title of restored new project
Change-Id: Ia8255016f77942274c9cf4f704115766735a820b
This commit is contained in:
parent
8292486c3a
commit
2bb8875e30
1 changed files with 2 additions and 0 deletions
|
@ -7658,6 +7658,8 @@ void Plater::load_project(wxString const& filename2,
|
|||
// if res is empty no data has been loaded
|
||||
if (!res.empty() && (load_restore || !(strategy & LoadStrategy::Silence))) {
|
||||
p->set_project_filename(load_restore ? originfile : filename);
|
||||
if (load_restore && originfile.IsEmpty())
|
||||
p->set_project_name(_L("Untitled"));
|
||||
} else {
|
||||
if (using_exported_file())
|
||||
p->set_project_filename(filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue