This commit is contained in:
Kovid Goyal
2017-06-10 23:29:46 +05:30
parent 4a316d16c7
commit 9e0077334e
+2 -2
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):