mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 23:54:00 -06:00
QOLchange: Don't add Untitled string if project name is set
This commit is contained in:
parent
fb0719b450
commit
25e3944c53
1 changed files with 0 additions and 3 deletions
|
@ -2853,9 +2853,6 @@ void SelectMachineDialog::set_default()
|
||||||
|
|
||||||
if (filename.empty()) {
|
if (filename.empty()) {
|
||||||
filename = m_plater->get_export_gcode_filename("", true);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fs::path filename_path(filename.c_str());
|
fs::path filename_path(filename.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue