mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 13:09:05 +08:00
QOLchange: Don't add Untitled string if project name is set
This commit is contained in:
parent
fb0719b450
commit
25e3944c53
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user