Fix a crash replying to a message.

* src/client/composer/composer-widget.vala (ComposerWidget::load): We
  only need to call restore_reply_to_state when we are actually restoring
  from a draft.
This commit is contained in:
Michael James Gratton 2017-02-16 09:38:53 +11:00
parent 9f5def0d0f
commit 67d2c80b69

View file

@ -590,10 +590,9 @@ public class ComposerWidget : Gtk.EventBox {
compose_type == ComposeType.FORWARD) {
this.pending_include = AttachPending.ALL;
}
yield restore_reply_to_state();
}
yield restore_reply_to_state();
set_header_recipients();
update_from_field();
update_pending_attachments(this.pending_include, true);