mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX:modify the title of the second confirmation
Change-Id: I85b4b0bb7dc12cdd2e37b494abc5de54a5939210
This commit is contained in:
@@ -1934,9 +1934,13 @@ void SelectMachineDialog::on_ok_btn(wxCommandEvent &event)
|
|||||||
wxString info_msg = wxEmptyString;
|
wxString info_msg = wxEmptyString;
|
||||||
|
|
||||||
for (auto i = 0; i < confirm_text.size(); i++) {
|
for (auto i = 0; i < confirm_text.size(); i++) {
|
||||||
if (i == 0)
|
if (i == 0) {
|
||||||
continue;
|
info_msg += confirm_text[i];
|
||||||
info_msg += wxString::Format("%d:%s\n",i, confirm_text[i]);
|
}
|
||||||
|
else {
|
||||||
|
info_msg += wxString::Format("%d:%s\n",i, confirm_text[i]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
confirm_dlg.update_text(info_msg);
|
confirm_dlg.update_text(info_msg);
|
||||||
if (confirm_dlg.ShowModal() == wxID_YES) {
|
if (confirm_dlg.ShowModal() == wxID_YES) {
|
||||||
|
|||||||
Reference in New Issue
Block a user