Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable clone: workaround to test edited path case-sensitively (fixes #165)

Changeset e80bd49c2c56

Parent e259f7a47e51

by Yuya Nishihara

Changes to one file · Browse files at e80bd49c2c56 Showing diff from parent e259f7a47e51 Diff from another changeset...

 
69
70
71
 
 
 
 
 
 
 
72
73
74
 
69
70
71
72
73
74
75
76
77
78
79
80
81
@@ -69,6 +69,13 @@
  grid.addWidget(self.dest_combo, 1, 1)   grid.addWidget(self.dest_btn, 1, 2)   + # workaround for QComboBox to test edited text case-sensitively + # see src/gui/widgets/qcombobox.cpp: + # QComboBoxPrivate::_q_editingFinished() and matchFlags() + for name in ('src_combo', 'dest_combo'): + w = getattr(self, name).lineEdit() + w.completer().setCaseSensitivity(Qt.CaseSensitive) +   s = QSettings()   self.shist = s.value('clone/source').toStringList()   for path in self.shist: