Commits

Yuya Nishihara committed 5dd7792

repofilter: use case-sensitive completion for revsets (fixes #2276)

Qt doc says:
> By default, for an editable combo box, a QCompleter that performs case
> insensitive inline completion is automatically created.

  • Participants
  • Parent commits 28b1fab
  • Branches stable

Comments (0)

Files changed (1)

tortoisehg/hgqt/repofilter.py

         combo.setEditable(True)
         combo.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
         combo.setSizeAdjustPolicy(QComboBox.AdjustToMinimumContentsLength)
+        combo.completer().setCaseSensitivity(Qt.CaseSensitive)
         le = combo.lineEdit()
         le.returnPressed.connect(self.returnPressed)
         le.selectionChanged.connect(self.selectionChanged)