feat: use browserHomepage settting as the browsers default page

This commit is contained in:
Jonathan Rainville 2021-01-04 16:05:41 -05:00 committed by Iuri Matias
parent 36b6e76a2e
commit 6c2836ded1
2 changed files with 4 additions and 0 deletions

View File

@ -450,6 +450,9 @@ Rectangle {
})
tab.item.profile = profile;
if (appSettings.browserHomepage !== "") {
tab.item.url = appSettings.browserHomepage
}
return tab;
}

View File

@ -46,6 +46,7 @@ ModalPopup {
id: customUrl
visible: appSettings.browserHomepage !== ""
placeholderText: qsTr("Paste URL")
text: appSettings.browserHomepage
pasteFromClipboard: true
textField.onTextChanged: {
appSettings.browserHomepage = customUrl.text