diff --git a/gui/wxpython/dbmgr/base.py b/gui/wxpython/dbmgr/base.py index 6940807baa4..2769f05a1cb 100644 --- a/gui/wxpython/dbmgr/base.py +++ b/gui/wxpython/dbmgr/base.py @@ -2794,14 +2794,6 @@ def OnTableItemAdd(self, event): ).GetValue() ) - # add item to the list of table columns - tlist = self.FindWindowById(self.layerPage[self.selLayer]["tableData"]) - - index = tlist.InsertItem(tlist.GetItemCount(), str(name)) - tlist.SetItem(index, 0, str(name)) - tlist.SetItem(index, 1, str(ctype)) - tlist.SetItem(index, 2, str(length)) - self.AddColumn(name, ctype, length) # update widgets