Avoid using the 'No Identity' card as the default identity. LP 1294559
[moonshot-ui.git] / src / moonshot-identity-management-view.vala
index 37d30e1..4eebbda 100644 (file)
@@ -520,7 +520,7 @@ public class IdentityManagerView : Window {
         filter.refilter();
         redraw_id_card_widgets ();
 
-        if (identity != null)
+        if ((identity != null) && (!identity.IsNoIdentity()))
             parent_app.default_id_card = identity;
 
         request.return_identity (identity);