Skip to content

Commit

Permalink
Merge pull request #39056 from slarosa/searchicon_console
Browse files Browse the repository at this point in the history
[pyqgis-console] add search icon to filterlineedit
  • Loading branch information
slarosa committed Sep 28, 2020
2 parents 8d2a0d1 + e17913c commit ef7ecbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/console/console.py
Expand Up @@ -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)
Expand Down

0 comments on commit ef7ecbf

Please sign in to comment.