Skip to content
Permalink
Browse files

Merge pull request #39056 from slarosa/searchicon_console

[pyqgis-console] add search icon to filterlineedit
  • Loading branch information
slarosa committed Sep 28, 2020
2 parents 8d2a0d1 + e17913c commit ef7ecbf95b4357fcca6889f39c77c946cd363d17
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 ef7ecbf

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