Skip to content

Commit

Permalink
app: redraw entire ConversationView when source is changed
Browse files Browse the repository at this point in the history
fix to #467 #463
  • Loading branch information
redshiftzero committed Jul 18, 2019
1 parent 3310209 commit 23abcd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 23abcd1

Please sign in to comment.