Fix some initially collapsed messages not showing a body when expanded.
* src/client/conversation-viewer/conversation-list-box.vala (EmailRow::expand): Check to see if the message's web views report a valid height and queue a resize if not, before expanding the row.
This commit is contained in:
parent
797bb44b7c
commit
e91edf4dbd
1 changed files with 6 additions and 0 deletions
|
|
@ -144,6 +144,12 @@ public class ConversationListBox : Gtk.ListBox {
|
|||
|
||||
public override void expand() {
|
||||
this.is_expanded = true;
|
||||
this.view.message_view_iterator().foreach((view) => {
|
||||
if (!view.web_view.is_height_valid) {
|
||||
view.web_view.queue_resize();
|
||||
}
|
||||
return true;
|
||||
});
|
||||
update_row_expansion();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue