aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebViewStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/widgets/WebViewStack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/WebViewStack.cpp b/src/widgets/WebViewStack.cpp
index 5ec6364..f01b75c 100644
--- a/src/widgets/WebViewStack.cpp
+++ b/src/widgets/WebViewStack.cpp
@@ -81,6 +81,7 @@ void WebViewStack::on_new_webview_request(
int32_t WebViewStack::get_webview_index(WebViewId webview_id) {
if (webview_id == 0) {
+ // TODO: Check how to detect "active" window before qapp start (lua init)?
if (window()->isActiveWindow())
webview_id = current_webview_id();
else