This commit is contained in:
Kovid Goyal 2017-06-10 23:29:46 +05:30
parent 4a316d16c7
commit 9e0077334e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -219,8 +219,8 @@ class SearchBox2(QComboBox): # {{{
if k == Qt.Key_Down and self.currentIndex() == 0 and not self.lineEdit().text():
self.setCurrentIndex(1), self.setCurrentIndex(0)
event.accept()
return
QComboBox.keyPressEvent(self, event)
else:
QComboBox.keyPressEvent(self, event)
self.blockSignals(False)
def completer_used(self, text):