FIX: Developer Mode Unlimited Popup
Change-Id: Idcb8fe686c85e13cae5c8c36e6a08520e805876c
This commit is contained in:
parent
1d0476fa44
commit
3c5f5f1ea3
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ void WebView::LoadUrl(wxWebView * webView, wxString const &url)
|
|||
|
||||
bool WebView::RunScript(wxWebView *webView, wxString const &javascript)
|
||||
{
|
||||
if (Slic3r::GUI::wxGetApp().get_mode() == Slic3r::comDevelop)
|
||||
if (Slic3r::GUI::wxGetApp().app_config->get("internal_developer_mode") == "true")
|
||||
wxLogMessage("Running JavaScript:\n%s\n", javascript);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue