diff --git a/src/web/UBWebController.cpp b/src/web/UBWebController.cpp index dd2bf32b..84ffea5b 100644 --- a/src/web/UBWebController.cpp +++ b/src/web/UBWebController.cpp @@ -725,9 +725,10 @@ void UBWebController::loadUrl(const QUrl& url) } else { + bool webBrowserAlreadyInstanciated = mStackedWidget->widget(WebBrowser) != NULL; UBApplication::applicationController->showInternet(); - if (mCurrentWebBrowser && !(*mCurrentWebBrowser)) { + if (!webBrowserAlreadyInstanciated) { (*mCurrentWebBrowser)->loadUrl(url); } else {