From 7e2c35067d8f8dd4abd8fdb99c42826794c8e72d Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 5 Nov 2008 19:08:09 +0000 Subject: [PATCH] #2465 correct type, default to > 0 svn: r11259 --- src/FilterEditor/_EditRule.py | 2 +- src/Filters/Rules/_HasSourceBase.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FilterEditor/_EditRule.py b/src/FilterEditor/_EditRule.py index 42e81ae4c..5d689865c 100644 --- a/src/FilterEditor/_EditRule.py +++ b/src/FilterEditor/_EditRule.py @@ -478,7 +478,7 @@ class EditRule(ManagedWindow.ManagedWindow): elif v == _('Reference count must be:'): t = MyLesserEqualGreater() elif v == _('Number must be:'): - t = MyLesserEqualGreater(1) + t = MyLesserEqualGreater(2) elif v == _('Number of generations:'): t = MyInteger(1, 32) elif v == _('ID:'): diff --git a/src/Filters/Rules/_HasSourceBase.py b/src/Filters/Rules/_HasSourceBase.py index d52bdb851..36c8e7618 100755 --- a/src/Filters/Rules/_HasSourceBase.py +++ b/src/Filters/Rules/_HasSourceBase.py @@ -41,7 +41,7 @@ from Filters.Rules._Rule import Rule class HasSourceBase(Rule): """Objects having notes""" - labels = [ _('Number of instances:'), _('Number must be')] + labels = [ _('Number of instances:'), _('Number must be:')] name = _('Objects with sources') description = _("Matches objects that have a certain number of sources") category = _('General filters')