From 23abcd17ed7350dbda5cbe0c76efa6a240d3b7aa Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Mon, 8 Jul 2019 17:20:12 -0700 Subject: [PATCH] app: redraw entire ConversationView when source is changed fix to #467 #463 --- securedrop_client/gui/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index b26fef1a02..cac58010f9 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -641,6 +641,9 @@ def on_source_changed(self): conversation_wrapper = SourceConversationWrapper(source, self.controller) self.source_conversations[source] = conversation_wrapper + # Redraw the conversation view such that new messages, replies, files appear. + conversation_wrapper.conversation_view.update_conversation(source.collection) + self.set_conversation(conversation_wrapper) else: self.clear_conversation()