diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-07-20 20:28:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-07-20 20:28:15 +0100 |
commit | 3276375c5caec7bea0aa44a78f73581b701131e3 (patch) | |
tree | fd2eeb8fde58cd5922599bfcb02453ef42fc50a7 /src | |
parent | bc1e3fe6688c6c72d25041e2334e24161c3cbcad (diff) |
improve search bar a bit
Diffstat (limited to 'src')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 2 | ||||
-rw-r--r-- | src/frontend/gui/ui/sisyphus-gui.ui | 4 |
2 files changed, 3 insertions, 3 deletions
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 @@ <height>25</height> </rect> </property> - <property name="text"> - <string>Enter package name...</string> + <property name="toolTip"> + <string><html><head/><body><p align="center">Type in package name</p></body></html></string> </property> <property name="clearButtonEnabled"> <bool>true</bool> |