mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX:modify the title of the second confirmation
Change-Id: I85b4b0bb7dc12cdd2e37b494abc5de54a5939210
This commit is contained in:
parent
0f00adb0d1
commit
3c9a28017d
1 changed files with 7 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue