mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 17:42:14 +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;
|
||||
|
||||
for (auto i = 0; i < confirm_text.size(); i++) {
|
||||
if (i == 0)
|
||||
continue;
|
||||
info_msg += wxString::Format("%d:%s\n",i, confirm_text[i]);
|
||||
if (i == 0) {
|
||||
info_msg += confirm_text[i];
|
||||
}
|
||||
else {
|
||||
info_msg += wxString::Format("%d:%s\n",i, confirm_text[i]);
|
||||
}
|
||||
|
||||
}
|
||||
confirm_dlg.update_text(info_msg);
|
||||
if (confirm_dlg.ShowModal() == wxID_YES) {
|
||||
|
||||
Reference in New Issue
Block a user