summaryrefslogtreecommitdiff
path: root/portato/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 793d1b6..5b3bf7e 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1646,6 +1646,9 @@ class MainWindow (Window):
"""Do a search."""
text = entry.get_text()
if text != "":
+ if not "*" in text:
+ text = ".*%s.*" % text
+
packages = system.find_packages(text, with_version = False)
if packages == []: