QOLchange: Don't add Untitled string if project name is set

This commit is contained in:
SoftFever 2022-12-29 23:11:24 +08:00
parent fb0719b450
commit 25e3944c53

View file

@ -2853,9 +2853,6 @@ 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);
}
}
fs::path filename_path(filename.c_str());