Fix of parameters in InfoDilaog

followup 23a72cec1f
This commit is contained in:
David Kocik 2023-06-15 13:51:23 +02:00
parent a0f5fe0fb7
commit 5865788d7a

View File

@ -4254,8 +4254,8 @@ bool Plater::priv::warnings_dialog()
text += it.first.message; text += it.first.message;
} }
//MessageDialog msg_wingow(this->q, from_u8(text), wxString(SLIC3R_APP_NAME " ") + _L("generated warnings"), wxOK); //MessageDialog msg_wingow(this->q, from_u8(text), wxString(SLIC3R_APP_NAME " ") + _L("generated warnings"), wxOK);
// Changed ti InfoDialog so it can show hyperlinks // Changed to InfoDialog so it can show hyperlinks
InfoDialog msg_wingow(this->q, wxString(SLIC3R_APP_NAME " ") + _L("generated warnings"), from_u8(text), wxOK); InfoDialog msg_wingow(this->q, format_wxstr("%1% %2%", SLIC3R_APP_NAME, _L("generated warnings")), from_u8(text), true);
const auto res = msg_wingow.ShowModal(); const auto res = msg_wingow.ShowModal();
return res == wxID_OK; return res == wxID_OK;