From fb43e4ac26ebf5b67fb848819ac934af92d7e846 Mon Sep 17 00:00:00 2001 From: ababi <albert.babi@savoirfairelinux.com> Date: Fri, 11 Sep 2020 22:22:22 +0200 Subject: [PATCH] callmodel: currentCall_ must be reset if holded forget current call when state == PAUSE in order to make possible the setCurrentCall afterwards Change-Id: I663a951d1981f49d52ee7725a8f440d83ade4d61 --- src/newcallmodel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/newcallmodel.cpp b/src/newcallmodel.cpp index c73f8285..25cd277b 100644 --- a/src/newcallmodel.cpp +++ b/src/newcallmodel.cpp @@ -789,6 +789,8 @@ NewCallModelPimpl::slotCallStateChanged(const QString& callId, const QString& st if (it != pendingConferences_.end()) { linked.joinCalls(it->second, it->first); } + } else if (call->status == call::Status::PAUSED) { + currentCall_ = ""; } } -- GitLab