Port obsolete setAutoCompletionCaseSensitivity from QCombobox

This commit is contained in:
Kovid Goyal 2014-04-24 14:56:26 +05:30
parent 4ff0c73b1a
commit ae2183ed61

View File

@ -574,7 +574,7 @@ class EnComboBox(QComboBox): # {{{
def __init__(self, *args): def __init__(self, *args):
QComboBox.__init__(self, *args) QComboBox.__init__(self, *args)
self.setLineEdit(EnLineEdit(self)) self.setLineEdit(EnLineEdit(self))
self.setAutoCompletionCaseSensitivity(Qt.CaseInsensitive) self.completer().setCaseSensitivity(Qt.CaseInsensitive)
self.setMinimumContentsLength(20) self.setMinimumContentsLength(20)
def text(self): def text(self):