mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:fixed model import not in the latest list
fixed STUDIO-2986 STUDIO-2989 Change-Id: Ifc20a6dcfcd0cae305cc6c2844cb26656289925e
This commit is contained in:
parent
2e4cc06d0c
commit
87386c817c
3 changed files with 3 additions and 7 deletions
|
@ -3373,9 +3373,7 @@ void SelectMachineDialog::set_default()
|
|||
|
||||
if (filename.empty()) {
|
||||
filename = m_plater->get_export_gcode_filename("", true);
|
||||
if (std::strstr(filename.c_str(), _L("Untitled").c_str()) == NULL) {
|
||||
filename = wxString::Format("Untitled%s", filename);
|
||||
}
|
||||
if (filename.empty()) filename = _L("Untitled");
|
||||
}
|
||||
|
||||
fs::path filename_path(filename.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue