Fix copying public key to clipboard if already authed

This commit is contained in:
Curtis Shmyr
2020-06-07 15:05:49 -06:00
committed by abcdefg30
parent 3d17328d0d
commit 02d462a82c

View File

@@ -80,8 +80,6 @@ namespace OpenRA
{ {
try try
{ {
innerState = LinkState.Unlinked;
if (i.Error != null) if (i.Error != null)
{ {
innerState = LinkState.ConnectionFailed; innerState = LinkState.ConnectionFailed;
@@ -100,6 +98,8 @@ namespace OpenRA
else else
innerState = LinkState.Linked; innerState = LinkState.Linked;
} }
else
innerState = LinkState.Unlinked;
} }
catch (Exception e) catch (Exception e)
{ {