ENH:update the profile name of the private model
Change-Id: I7a64b273817f8340824e9510ac67e8c8fe96bde2
This commit is contained in:
parent
70bbaa4337
commit
8c57d3cc47
|
@ -239,8 +239,10 @@ void PrintJob::process()
|
|||
catch (...) {}
|
||||
}
|
||||
}
|
||||
else {
|
||||
params.preset_name = wxGetApp().preset_bundle->prints.get_selected_preset_name();
|
||||
|
||||
|
||||
if (params.preset_name.empty() && params.project_name.empty()) {
|
||||
params.preset_name = wxString::Format("%s_plate_%d", m_project_name, curr_plate_idx).ToStdString();
|
||||
params.project_name = m_project_name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue