Angel Ezquerra  committed c19655d

manifest: expand the file tree when "return" is pressed

This makes it possible to expand the file tree after filtering. This is a less
ambitious patch than my recent series that would autoexpand the tree by default.

While I still hope to get that series into 2.5, we are still debating a few GUI
issues. While those are resolved I think that this is a good step forward.

  • Participants
  • Parent commits 8fba2e7
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

     def _setupfilterupdater(self):
         self._filterupdatetimer = QTimer(self, interval=200, singleShot=True)
+        self.le.returnPressed.connect(self._treeview.expandAll)
             lambda: self._treemodel.setNameFilter(self.le.text()))