Merge branch 'wip/538-crash-changing-from' into 'mainline'
Fix crash when changing composer From address Closes #538 See merge request GNOME/geary!285
This commit is contained in:
commit
3a2a8c0c7c
1 changed files with 5 additions and 1 deletions
|
|
@ -1398,7 +1398,11 @@ public class ComposerWidget : Gtk.EventBox, Geary.BaseInterface {
|
|||
}
|
||||
|
||||
GLib.Cancellable internal_cancellable = new GLib.Cancellable();
|
||||
cancellable.cancelled.connect(() => { internal_cancellable.cancel(); });
|
||||
if (cancellable != null) {
|
||||
cancellable.cancelled.connect(
|
||||
() => { internal_cancellable.cancel(); }
|
||||
);
|
||||
}
|
||||
this.draft_manager_opening = internal_cancellable;
|
||||
|
||||
Geary.App.DraftManager new_manager = new Geary.App.DraftManager(account);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue