Skip to content

Commit 9786fc0

Browse files
committedOct 18, 2016
DBManager: python3 fix in create table dialog
The setAutoCompletion() method of QComboBox was deprecated in QT 4 and has been removed in QT 5. Auto completion is enabled by default.
1 parent 5038949 commit 9786fc0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎python/plugins/db_manager/dlg_create_table.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def createEditor(self, parent, option, index):
5050
if index.column() == 1:
5151
cbo = QComboBox(parent)
5252
cbo.setEditable(True)
53-
cbo.setAutoCompletion(True)
5453
cbo.setFrame(False)
5554
for item in self.fieldTypes:
5655
cbo.addItem(item)

0 commit comments

Comments
 (0)
Please sign in to comment.