Add search prompt for setupSearch

This commit is contained in:
Henrik Giesel 2020-10-19 20:57:19 +02:00
parent 54dc97825e
commit 450e85d36d

View File

@ -760,7 +760,7 @@ class Browser(QMainWindow):
self.form.searchEdit.addItems(
[self._searchPrompt] + self.mw.pm.profile["searchHistory"]
)
self.search_for("is:current")
self.search_for("is:current", self._searchPrompt)
# then replace text for easily showing the deck
self.form.searchEdit.lineEdit().selectAll()
self.form.searchEdit.setFocus()