From f422bd7da023adac3c8a086a8ab4eba823b90759 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 16 Jan 2017 16:38:07 +0100 Subject: [PATCH] fix(src/components/contact/ContactModel): emit `contactUpdated` on edition cancel --- submodules/linphone | 2 +- tests/src/components/contact/ContactModel.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/submodules/linphone b/submodules/linphone index 09627fe95..c0048ed88 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 09627fe9562b9e0420e7d27e06bb4619d3ad7f4e +Subproject commit c0048ed884a411dc29f92daf7bf4c6941074675a diff --git a/tests/src/components/contact/ContactModel.cpp b/tests/src/components/contact/ContactModel.cpp index 3474d6fdd..d32cd5b92 100644 --- a/tests/src/components/contact/ContactModel.cpp +++ b/tests/src/components/contact/ContactModel.cpp @@ -71,6 +71,8 @@ void ContactModel::abortEdit () { // TODO: call linphone friend abort function when available. // m_linphone_friend->abort(); m_old_sip_addresses.clear(); + + emit contactUpdated(); } Presence::PresenceStatus ContactModel::getPresenceStatus () const {