From: Kevin Wasserman Date: Mon, 4 Nov 2013 14:34:17 +0000 (-0500) Subject: Fix identity duplication bug X-Git-Tag: 0.7.1~33 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=commitdiff_plain;h=1d49d31804d3312de1de2f576d5b6489493b484c Fix identity duplication bug Occured when 'send'ing an identity w/o a password. --- diff --git a/src/moonshot-identity-management-view.vala b/src/moonshot-identity-management-view.vala index 1ddb1c8..515b8f9 100644 --- a/src/moonshot-identity-management-view.vala +++ b/src/moonshot-identity-management-view.vala @@ -467,13 +467,14 @@ public class IdentityManagerView : Window { return retval; } - public void send_identity_cb (IdCard identity) + public void send_identity_cb (IdCard id) { + IdCard identity = id; return_if_fail (request_queue.length > 0); candidates = null; var request = this.request_queue.pop_head (); - check_add_password(identity, request, identities_manager); + identity = check_add_password(identity, request, identities_manager); if (this.request_queue.is_empty()) { candidates = null;