Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing print
  • Loading branch information
Ailurupoda committed Feb 8, 2019
1 parent db4db59 commit d331143
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/plugins/db_manager/dlg_field_properties.py
Expand Up @@ -52,7 +52,6 @@ def __init__(self, parent=None, fld=None, table=None, db=None):
self.buttonBox.accepted.connect(self.onOK)

def setField(self, fld):
print('ok')
if fld is None:
return
self.editName.setText(fld.name)
Expand All @@ -62,16 +61,10 @@ def setField(self, fld):
self.chkNull.setChecked(not fld.notNull)
if fld.hasDefault:
self.editDefault.setText(fld.default)
print(self.table)
tab = self.table.name
print(tab)
field = fld.name
print(field)
res = self.db.connector.getComment(tab, field)
print(res)
self.editCom.setText(res) # Set comment value
#except:
# self.editCom.setEnabled(False)

def getField(self, newCopy=False):
fld = TableField(self.table) if not self.fld or newCopy else self.fld
Expand Down

0 comments on commit d331143

Please sign in to comment.