summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-20 20:28:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-20 20:28:15 +0100
commit3276375c5caec7bea0aa44a78f73581b701131e3 (patch)
treefd2eeb8fde58cd5922599bfcb02453ef42fc50a7
parentbc1e3fe6688c6c72d25041e2334e24161c3cbcad (diff)
improve search bar a bit
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py2
-rw-r--r--src/frontend/gui/ui/sisyphus-gui.ui4
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Type in package name&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>