From c94354108f2796b271a6da7323482d1abf23aff7 Mon Sep 17 00:00:00 2001 From: Maciej Gibowicz Date: Thu, 25 Nov 2021 09:30:10 +0100 Subject: [PATCH] [EGD-7728] Fix refreshing contact details after editing After editing a contact from the message level, the contact details will be refreshed in the message view. --- .../application-messages/windows/SMSThreadViewWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module-apps/application-messages/windows/SMSThreadViewWindow.cpp b/module-apps/application-messages/windows/SMSThreadViewWindow.cpp index acbffe7aef4a0b6aa7f908715642ef2a738a1268..bf034df722c071002f36fb09876667d0d86a70c3 100644 --- a/module-apps/application-messages/windows/SMSThreadViewWindow.cpp +++ b/module-apps/application-messages/windows/SMSThreadViewWindow.cpp @@ -80,6 +80,9 @@ namespace gui smsModel->smsThreadID = pdata->thread->ID; smsList->rebuildList(); } + else if (smsModel->numberID != DB_ID_NONE) { + requestContact(smsModel->numberID); + } } if (auto pdata = dynamic_cast(data)) { auto txt = pdata->text;