Commit 8251a2b1 authored by Steve Borho's avatar Steve Borho
Browse files

repofilter: give line edit focus when filter bar is shown

parent b2bb7f95190a
......@@ -79,6 +79,9 @@ class RepoFilterBar(QToolBar):
self._initbranchfilter()
self.refresh()
def showEvent(self, event):
self.revsetle.setFocus()
def openEditor(self):
query = self.revsetle.text().simplified()
self.entrydlg.entry.setText(query)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment