Skip to content
Permalink
Browse files
add placeholder text for filters
  • Loading branch information
alexbruy committed Dec 3, 2012
1 parent 61f01c9 commit 6518a975444bf8ec8fb25214f1e2a12991fb3ba4
Showing with 6 additions and 0 deletions.
  1. +3 −0 python/plugins/sextante/gui/ConfigDialog.py
  2. +3 −0 python/plugins/sextante/gui/SextanteToolbox.py
@@ -43,6 +43,9 @@ def __init__(self, toolbox):
self.groupIcon.addPixmap(self.style().standardPixmap(QStyle.SP_DirOpenIcon),
QIcon.Normal, QIcon.On)

if hasattr(self.searchBox, 'setPlaceholderText'):
self.searchBox.setPlaceholderText(self.tr("Search..."))

self.fillTree()

def fillTree(self):
@@ -60,6 +60,9 @@ def __init__(self, iface):
self.algorithmTree.customContextMenuRequested.connect(self.showPopupMenu)
self.algorithmTree.doubleClicked.connect(self.executeAlgorithm)

if hasattr(self.searchBox, 'setPlaceholderText'):
self.searchBox.setPlaceholderText(self.tr("Search..."))

self.fillTree()

def algsListHasChanged(self):

0 comments on commit 6518a97

Please sign in to comment.