mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 11:58:27 +00:00
fix invalid config url advanced settings #LINQT-2435
This commit is contained in:
parent
972a932a1f
commit
98bf0f8dea
1 changed files with 2 additions and 3 deletions
|
|
@ -92,9 +92,8 @@ AbstractSettingsLayout {
|
|||
text: qsTr("settings_advanced_download_apply_remote_provisioning")
|
||||
style: ButtonStyle.tertiary
|
||||
onClicked: {
|
||||
var url = configUri.value()
|
||||
if (UtilsCpp.isValidURL(url))
|
||||
UtilsCpp.useFetchConfig(configUri.value())
|
||||
if (UtilsCpp.isValidURL(configUri.text))
|
||||
UtilsCpp.useFetchConfig(configUri.text)
|
||||
else
|
||||
//: Invalid URL format
|
||||
UtilsCpp.showInformationPopup(qsTr("information_popup_error_title"), qsTr("settings_advanced_invalid_url_message"), false, UtilsCpp.getMainWindow())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue