mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
FIX:fixed incorrect display after adding files via add
Change-Id: Id812b40cb85a882a8c490ccdc2375e0d9b8e312d
This commit is contained in:
parent
c24680e09d
commit
57c877ab9a
1 changed files with 1 additions and 1 deletions
|
@ -7200,7 +7200,7 @@ void Plater::add_model(bool imperial_units/* = false*/)
|
||||||
if (!load_files(paths, strategy, ask_multi).empty()) {
|
if (!load_files(paths, strategy, ask_multi).empty()) {
|
||||||
|
|
||||||
if (get_project_name() == _L("Untitled") && paths.size() > 0) {
|
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();
|
wxGetApp().mainframe->update_title();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue