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

This commit is contained in:
Ronan Abhamon 2016-12-29 11:53:47 +01:00
parent a3f0062d73
commit 0e6faf306f

View file

@ -58,6 +58,7 @@ ColumnLayout {
descriptionText: qsTr('removeContactDescription'),
exitHandler: function (status) {
if (status) {
window.unlockView()
window.setView('Contacts')
ContactsListModel.removeContact(_contact)
}
@ -89,9 +90,7 @@ ColumnLayout {
if (sipAddress && sipAddress.length > 0) {
_vcard.addSipAddress(
Utils.startsWith(sipAddress, 'sip:')
? sipAddress
: 'sip:' + sipAddress
Utils.startsWith(sipAddress, 'sip:') ? sipAddress : 'sip:' + sipAddress
)
}