From 3276375c5caec7bea0aa44a78f73581b701131e3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jul 2017 20:28:15 +0100 Subject: improve search bar a bit --- src/frontend/gui/sisyphus-gui.py | 2 +- src/frontend/gui/ui/sisyphus-gui.ui | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 35df849..96edcd7 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -12,7 +12,7 @@ class Sisyphus(QtWidgets.QMainWindow): self.show() self.load_packages() - self.input.returnPressed.connect(self.filter_database) + self.input.textEdited.connect(self.filter_database) self.install.clicked.connect(self.install_package) self.uninstall.clicked.connect(self.uninstall_package) diff --git a/src/frontend/gui/ui/sisyphus-gui.ui b/src/frontend/gui/ui/sisyphus-gui.ui index ad37fbd..46050a3 100644 --- a/src/frontend/gui/ui/sisyphus-gui.ui +++ b/src/frontend/gui/ui/sisyphus-gui.ui @@ -239,8 +239,8 @@ 25 - - Enter package name... + + <html><head/><body><p align="center">Type in package name</p></body></html> true -- cgit v1.2.3