From 0c1b1cd426c955d2531638ac3f1cef80f04759e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Tue, 18 Jan 2022 11:34:29 -0500 Subject: [PATCH] conversationsadapter: select first conversation It's more useful than the welcome view GitLab: #645 Change-Id: Icf79aaff5c2cd1d9faf8481ba20f68e7b095d8c1 --- src/conversationsadapter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/conversationsadapter.cpp b/src/conversationsadapter.cpp index 11b7bfc97..20d8129cc 100644 --- a/src/conversationsadapter.cpp +++ b/src/conversationsadapter.cpp @@ -141,6 +141,9 @@ ConversationsAdapter::safeInit() Qt::UniqueConnection); connectConversationModel(); + + // Select the first conversation, more useful than the welcome view + convModel_->select(0); } void @@ -155,6 +158,9 @@ ConversationsAdapter::onCurrentAccountIdChanged() // case of programmatic selection(incoming call, notification // activation, etc.). set_filterRequests(false); + + // Select the first conversation, more useful than the welcome view + convModel_->select(0); } void -- GitLab