From 7aa041edd8a1b9fd5ba37085ceba7d7e19f0ca7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Wed, 19 Aug 2020 17:15:33 -0400
Subject: [PATCH] conversationmodel: emit sorted when necessary

Change-Id: Ib102e097287e923459cc2825ea6c2c5c739821fd
---
 src/conversationmodel.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/conversationmodel.cpp b/src/conversationmodel.cpp
index 19b7c8e6..cf3416fe 100644
--- a/src/conversationmodel.cpp
+++ b/src/conversationmodel.cpp
@@ -1612,6 +1612,7 @@ ConversationModelPimpl::slotContactModelUpdated(const QString& uri, bool needsSo
 
     if (filter.isEmpty()) {
         if (searchResults.empty()) {
+            emit linked.modelSorted();
             return;
         }
         searchResults.clear();
-- 
GitLab