Skip to content
Permalink
Browse files

Removing print

  • Loading branch information
Ailurupoda committed Feb 8, 2019
1 parent db4db59 commit d33114383775f1ea7c09517a47221645c41d4233
Showing with 0 additions and 7 deletions.
  1. +0 −7 python/plugins/db_manager/dlg_field_properties.py
@@ -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)
@@ -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

0 comments on commit d331143

Please sign in to comment.
You can’t perform that action at this time.