mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH: add a column at history window
Change-Id: I157c1e412b562af0f2ce7ed6998c59cc3bcc3ab3
This commit is contained in:
parent
1c4d0e9bc1
commit
8a9738c122
2 changed files with 72 additions and 65 deletions
|
@ -326,11 +326,11 @@ void CaliPASaveAutoPanel::save_to_result_from_widgets(wxWindow* window, bool* ou
|
|||
msg_dlg.ShowModal();
|
||||
*out_is_valid = false;
|
||||
}
|
||||
else if (name.Length() > 20) {
|
||||
MessageDialog msg_dlg(nullptr, _L("The name cannot exceed 20 characters."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
msg_dlg.ShowModal();
|
||||
*out_is_valid = false;
|
||||
}
|
||||
//else if (name.Length() > 20) {
|
||||
// MessageDialog msg_dlg(nullptr, _L("The name cannot exceed 20 characters."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
// msg_dlg.ShowModal();
|
||||
// *out_is_valid = false;
|
||||
//}
|
||||
m_calib_results[tray_id].name = name.ToStdString();
|
||||
}
|
||||
|
||||
|
@ -468,11 +468,11 @@ bool CaliPASaveManualPanel::get_result(PACalibResult& out_result) {
|
|||
msg_dlg.ShowModal();
|
||||
return false;
|
||||
}
|
||||
else if (name.Length() > 20) {
|
||||
MessageDialog msg_dlg(nullptr, _L("The name cannot exceed 20 characters."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
msg_dlg.ShowModal();
|
||||
return false;
|
||||
}
|
||||
//else if (name.Length() > 20) {
|
||||
// MessageDialog msg_dlg(nullptr, _L("The name cannot exceed 20 characters."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
// msg_dlg.ShowModal();
|
||||
// return false;
|
||||
//}
|
||||
|
||||
out_result.k_value = k;
|
||||
out_result.name = name.ToStdString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue