Skip to content

Commit

Permalink
remove redundant code from Focused
Browse files Browse the repository at this point in the history
  • Loading branch information
m66n committed Jun 30, 2016
1 parent c75d781 commit c6cc38b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions source/IPAddressControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,7 @@ public override bool Focused
{
get
{
foreach (FieldControl fc in _fieldControls)
{
if (fc.Focused)
{
return true;
}
}

return false;
return FocusedFieldIndex != -1;
}
}

Expand Down

0 comments on commit c6cc38b

Please sign in to comment.