diff --git a/pcbnew/tools/selection_conditions.cpp b/pcbnew/tools/selection_conditions.cpp index 9b600899d1..db4c736b4f 100644 --- a/pcbnew/tools/selection_conditions.cpp +++ b/pcbnew/tools/selection_conditions.cpp @@ -122,7 +122,7 @@ bool SELECTION_CONDITIONS::moreThanFunc( const SELECTION& aSelection, int aNumbe bool SELECTION_CONDITIONS::lessThanFunc( const SELECTION& aSelection, int aNumber ) { - return aSelection.Size() > aNumber; + return aSelection.Size() < aNumber; }