Commit 0e6faf30 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/MainWindow/ContactEdit): missing `unlockView` call

parent a3f0062d
...@@ -58,6 +58,7 @@ ColumnLayout { ...@@ -58,6 +58,7 @@ ColumnLayout {
descriptionText: qsTr('removeContactDescription'), descriptionText: qsTr('removeContactDescription'),
exitHandler: function (status) { exitHandler: function (status) {
if (status) { if (status) {
window.unlockView()
window.setView('Contacts') window.setView('Contacts')
ContactsListModel.removeContact(_contact) ContactsListModel.removeContact(_contact)
} }
...@@ -89,9 +90,7 @@ ColumnLayout { ...@@ -89,9 +90,7 @@ ColumnLayout {
if (sipAddress && sipAddress.length > 0) { if (sipAddress && sipAddress.length > 0) {
_vcard.addSipAddress( _vcard.addSipAddress(
Utils.startsWith(sipAddress, 'sip:') Utils.startsWith(sipAddress, 'sip:') ? sipAddress : 'sip:' + sipAddress
? sipAddress
: 'sip:' + sipAddress
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment