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,7 +219,7 @@ class SearchBox2(QComboBox): # {{{
if k == Qt.Key_Down and self.currentIndex() == 0 and not self.lineEdit().text(): if k == Qt.Key_Down and self.currentIndex() == 0 and not self.lineEdit().text():
self.setCurrentIndex(1), self.setCurrentIndex(0) self.setCurrentIndex(1), self.setCurrentIndex(0)
event.accept() event.accept()
return else:
QComboBox.keyPressEvent(self, event) QComboBox.keyPressEvent(self, event)
self.blockSignals(False) self.blockSignals(False)