ENH:check 3mf files without gcode data

Change-Id: Ic056cd29d4bab8612701fd2291af5a14eb937bb7
This commit is contained in:
tao wang 2023-06-09 14:07:55 +08:00 committed by Lane.Wei
parent 304c3abfe9
commit b79ee23dd6
6 changed files with 21 additions and 11 deletions

View file

@ -312,7 +312,7 @@ static void add_msg_content(wxWindow* parent, wxBoxSizer* content_sizer, wxStrin
// Code formatting will be preserved. This is useful for reporting errors from the placeholder parser.
msg_escaped = std::string("<pre><code>") + msg_escaped + "</code></pre>";
html->SetPage("<html><body bgcolor=\"" + bgr_clr_str + "\"><font color=\"" + text_clr_str + "\">" + wxString::FromUTF8(msg_escaped.data()) + "</font></body></html>");
content_sizer->Add(html, 1, wxEXPAND|wxRIGHT,12);
content_sizer->Add(html, 1, wxEXPAND|wxRIGHT, 8);
wxGetApp().UpdateDarkUIWin(html);
}