Skip to content
Permalink
Browse files

[pyqgis-console] add search icon to filterlineedit

  • Loading branch information
slarosa committed Sep 27, 2020
1 parent 8d2a0d1 commit e17913c6ea7fad0c8a5f4aabffdf0d987fd438ee
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/console/console.py
@@ -450,6 +450,7 @@ def __init__(self, parent=None):
self.layoutFind = QGridLayout(self.widgetFind)
self.layoutFind.setContentsMargins(0, 0, 0, 0)
self.lineEditFind = QgsFilterLineEdit()
self.lineEditFind.setShowSearchIcon(True)
placeHolderTxt = QCoreApplication.translate("PythonConsole", "Enter text to find…")

self.lineEditFind.setPlaceholderText(placeHolderTxt)

0 comments on commit e17913c

Please sign in to comment.
You can’t perform that action at this time.