diff --git a/src/lib/webengine/webpage.cpp b/src/lib/webengine/webpage.cpp index 3af63680a..7efe1ccab 100644 --- a/src/lib/webengine/webpage.cpp +++ b/src/lib/webengine/webpage.cpp @@ -141,7 +141,7 @@ QVariant WebPage::execJavaScript(const QString &scriptSource, quint32 worldId, i } }); - loop->exec(); + loop->exec(QEventLoop::ExcludeUserInputEvents); delete loop; return result;