diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-04-01 13:36:25 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-02 17:57:07 +0100 |
commit | 0d47a7d8e8b50fbf0ed6ec8f3a8b95a11c067804 (patch) | |
tree | 42e0cc581a98083c1baa0cac699846e93d43bdd9 /bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |
parent | b5b1592dd31fb02dbdf81f96ec559d9b9fafea79 (diff) | |
download | poky-0d47a7d8e8b50fbf0ed6ec8f3a8b95a11c067804.tar.gz |
bitbake: hob: giving focus to the search field loses the table sorting
Giving focus to the search text field should not impact the table
sorting.
[YOCTO #4113]
(Bitbake rev: b5b4b6e4fefa6a164a49b291a0993b1ff63947f4)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 67d40e09a6..0bd9734f48 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |||
@@ -91,7 +91,7 @@ class PackageListModel(gtk.ListStore): | |||
91 | for key in filter.keys(): | 91 | for key in filter.keys(): |
92 | if key == self.COL_NAME: | 92 | if key == self.COL_NAME: |
93 | if filter[key] != 'Search packages by name': | 93 | if filter[key] != 'Search packages by name': |
94 | if filter[key] not in name: | 94 | if name and filter[key] not in name: |
95 | return False | 95 | return False |
96 | else: | 96 | else: |
97 | if model.get_value(it, key) not in filter[key]: | 97 | if model.get_value(it, key) not in filter[key]: |