FIX:fixed incorrect display after adding files via add
Change-Id: Id812b40cb85a882a8c490ccdc2375e0d9b8e312d
This commit is contained in:
parent
c24680e09d
commit
57c877ab9a
|
@ -7200,7 +7200,7 @@ void Plater::add_model(bool imperial_units/* = false*/)
|
|||
if (!load_files(paths, strategy, ask_multi).empty()) {
|
||||
|
||||
if (get_project_name() == _L("Untitled") && paths.size() > 0) {
|
||||
p->set_project_filename(wxString(paths[0].string()));
|
||||
p->set_project_filename(wxString::FromUTF8(paths[0].string()));
|
||||
}
|
||||
|
||||
wxGetApp().mainframe->update_title();
|
||||
|
|
Loading…
Reference in New Issue