FIX:modify the title of the second confirmation

Change-Id: I85b4b0bb7dc12cdd2e37b494abc5de54a5939210
This commit is contained in:
tao wang 2022-11-24 08:58:01 +08:00 committed by Lane.Wei
parent 0f00adb0d1
commit 3c9a28017d

View file

@ -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) {