mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: modify cali text and picture
jira: STUDIO-8778 STUDIO-8824 Change-Id: Iecb0a52a100c3f0765e5eda07e0ed50226490e42 (cherry picked from commit 16791c72d62eabef96011ddc117b329385c5aa68)
This commit is contained in:
@@ -887,8 +887,14 @@ bool PressureAdvanceWizard::can_save_cali_result(const std::vector<PACalibResult
|
||||
|
||||
if (!same_pa_names.empty()) {
|
||||
same_pa_names.erase(same_pa_names.size() - 2);
|
||||
MessageDialog msg_dlg(nullptr, wxString::Format(_L("There is already a historical calibration result with the same name: %s. Only one of the results with the same name "
|
||||
"is saved. Are you sure you want to override the historical result?"), same_pa_names), wxEmptyString, wxICON_WARNING | wxYES_NO);
|
||||
wxString duplicate_name_info = wxString::Format(_L("There is already a historical calibration result with the same name: %s. Only one of the results with the same name "
|
||||
"is saved. Are you sure you want to override the historical result?"), same_pa_names);
|
||||
|
||||
if (curr_obj->is_multi_extruders())
|
||||
duplicate_name_info = wxString::Format(_L("Within the same extruder, the name(%s) must be unique when the filament type, nozzle diameter, and nozzle flow are the same.\n"
|
||||
"Are you sure you want to override the historical result?"), same_pa_names);
|
||||
|
||||
MessageDialog msg_dlg(nullptr, duplicate_name_info, wxEmptyString, wxICON_WARNING | wxYES_NO);
|
||||
if (msg_dlg.ShowModal() != wxID_YES)
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user