eeschema: fix component search result ranking

This commit is contained in:
Chris Pavlina 2016-03-30 10:23:37 -04:00
parent 67b4ba0225
commit fd3835eb4f
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public:
{
*aMatchersTriggered += 1;
if ( local_find < result )
if ( local_find < result || result == EDA_PATTERN_NOT_FOUND )
{
result = local_find;
}