eeschema: fix component search result ranking
This commit is contained in:
parent
67b4ba0225
commit
fd3835eb4f
|
@ -292,7 +292,7 @@ public:
|
||||||
{
|
{
|
||||||
*aMatchersTriggered += 1;
|
*aMatchersTriggered += 1;
|
||||||
|
|
||||||
if ( local_find < result )
|
if ( local_find < result || result == EDA_PATTERN_NOT_FOUND )
|
||||||
{
|
{
|
||||||
result = local_find;
|
result = local_find;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue