mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:25:53 +08:00
SPE-2517: Added "Error running JavaScript" phrase to blocked wxLog warning (#12950)
Some users keep getting this warning and it has no real value to us.
This commit is contained in:
parent
5a882fd6c4
commit
dde66d5243
@ -4204,7 +4204,8 @@ void GUI_App::open_link_in_printables(const std::string& url)
|
|||||||
bool LogGui::ignorred_message(const wxString& msg)
|
bool LogGui::ignorred_message(const wxString& msg)
|
||||||
{
|
{
|
||||||
for(const wxString& err : std::initializer_list<wxString>{ wxString("cHRM chunk does not match sRGB"),
|
for(const wxString& err : std::initializer_list<wxString>{ wxString("cHRM chunk does not match sRGB"),
|
||||||
wxString("known incorrect sRGB profile") }) {
|
wxString("known incorrect sRGB profile"),
|
||||||
|
wxString("Error running JavaScript")}) {
|
||||||
if (msg.Contains(err))
|
if (msg.Contains(err))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user