Don't prompt for password when sending 'no identity' card
authorKevin Wasserman <krwasserman@hotmail.com>
Mon, 29 Apr 2013 18:03:33 +0000 (14:03 -0400)
committerKevin Wasserman <krwasserman@hotmail.com>
Mon, 29 Apr 2013 18:03:33 +0000 (14:03 -0400)
src/moonshot-identity-management-view.vala

index e4a8486..e9e630d 100644 (file)
@@ -470,7 +470,7 @@ public class IdentityManagerView : Window {
         var request = this.request_queue.pop_head ();
         bool reset_password = false;
 
-        if (identity.password == null)
+        if ((identity.password == null) && !identity.IsNoIdentity())
         {
             var dialog = new AddPasswordDialog ();
             var result = dialog.run ();