FIX: printer file system debug log

Change-Id: Iac9520de0d844fe24e116b0b4f0491c560ff3c26
(cherry picked from commit c97f927110b9c96cc8d43f521f88ea0e77522ff7)
This commit is contained in:
chunmao.guo 2023-05-23 14:24:31 +08:00 committed by Lane.Wei
parent 8e41e6cee2
commit 1f56efe5ea
2 changed files with 4 additions and 2 deletions

View file

@ -241,7 +241,8 @@ void WebView::LoadUrl(wxWebView * webView, wxString const &url)
bool WebView::RunScript(wxWebView *webView, wxString const &javascript)
{
if (Slic3r::GUI::wxGetApp().app_config->get("internal_developer_mode") == "true")
if (Slic3r::GUI::wxGetApp().app_config->get("internal_developer_mode") == "true"
&& javascript.find("studio_userlogin") == wxString::npos)
wxLogMessage("Running JavaScript:\n%s\n", javascript);
try {