allow duplicates in combobox history

This commit is contained in:
ccppi 2024-08-08 13:07:49 +02:00
parent 345490c2e0
commit 01adf276a8

View File

@ -124,6 +124,7 @@ class MainWindow(QMainWindow):
self.CEditQuery = QComboBox() self.CEditQuery = QComboBox()
self.CEditQuery.setEditable(True) self.CEditQuery.setEditable(True)
self.CEditQuery.setInsertPolicy(QComboBox.InsertAtBottom) self.CEditQuery.setInsertPolicy(QComboBox.InsertAtBottom)
self.CEditQuery.setDuplicatesEnabled(True)
self.queryFineFilers() self.queryFineFilers()
self.EditQuery = self.CEditQuery.lineEdit() self.EditQuery = self.CEditQuery.lineEdit()
self.EditQuery.returnPressed.connect(self.queryEditLine) self.EditQuery.returnPressed.connect(self.queryEditLine)