Source

thg-qt-mq / use-filepathrole.diff

# HG changeset patch
# Parent 04219f873534524a7fd6f8e5ecf9516170394994
diff --git a/tortoisehg/hgqt/manifestdialog.py b/tortoisehg/hgqt/manifestdialog.py
--- a/tortoisehg/hgqt/manifestdialog.py
+++ b/tortoisehg/hgqt/manifestdialog.py
@@ -407,6 +407,7 @@ class ManifestWidget(QWidget, qtlib.Task
         self._proxymodel = QSortFilterProxyModel()
         self._proxymodel.setSourceModel(self._treemodel)
         self._proxymodel.setFilterCaseSensitivity(Qt.CaseInsensitive)
+        self._proxymodel.setFilterRole(ManifestModel.FilePathRole)
         self._proxymodel.setDynamicSortFilter(True)
         
         oldmodel = self._treeview.model()