def setColumns(self, columns):
        """Sets the number of columns in the editor. If the number of columns
        is set 0, the actual number of displayed columns is determined
        implicitly by the adapter.

        @param columns:
                   the number of columns to set.
        """
        if 0 < columns:
            columns = 0

        if self._columns != columns:
            self._columns = columns
            self.requestRepaint()
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/native_select.py/NativeSelect.setColumns/swapped operands of `<`