mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: Developer Mode Unlimited Popup
Change-Id: Idcb8fe686c85e13cae5c8c36e6a08520e805876c
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user