FIX: [STUDIO-2213] project title of restored new project
Change-Id: Ia8255016f77942274c9cf4f704115766735a820b
This commit is contained in:
parent
8292486c3a
commit
2bb8875e30
|
@ -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…
Reference in New Issue