Update ui/app/AppLayouts/Browser/BrowserLayout.qml
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
parent
3e1a1c9ca9
commit
ad11305b98
|
@ -545,7 +545,7 @@ Rectangle {
|
||||||
} else if (request.destination === WebEngineView.NewViewInBackgroundTab) {
|
} else if (request.destination === WebEngineView.NewViewInBackgroundTab) {
|
||||||
var backgroundTab = tabs.createEmptyTab(currentWebView.profile);
|
var backgroundTab = tabs.createEmptyTab(currentWebView.profile);
|
||||||
request.openIn(backgroundTab.item);
|
request.openIn(backgroundTab.item);
|
||||||
// Disablign popups temporarily since we need to set that webengineview settings / channel and other proeprties
|
// Disabling popups temporarily since we need to set that webengineview settings / channel and other properties
|
||||||
/*} else if (request.destination === WebEngineView.NewViewInDialog) {
|
/*} else if (request.destination === WebEngineView.NewViewInDialog) {
|
||||||
var dialog = browserDialogComponent.createObject();
|
var dialog = browserDialogComponent.createObject();
|
||||||
dialog.currentWebView.profile = currentWebView.profile;
|
dialog.currentWebView.profile = currentWebView.profile;
|
||||||
|
|
Loading…
Reference in New Issue