grass
grass copied to clipboard
wxGUI/dbmgr: don't add new duplicated table col into table desc TableListCtrl widget
Describe the bug
Duplicated column name be added into table description TableListCtrl widget (see screenshot below).
To Reproduce Steps to reproduce the behavior:
- Launch Attribute Table Manager e.g
g.gui.dbmgr geology - Switch to Manage tables page (tab)
- Add new column with same name as existed col name GEO_NAME
- You see correct error dialog with message: Column <GEO_NAME> already exists in table
. - Duplicated column name is added into table description
TableListCtrlwidget

Expected behavior
Duplicated column name shouldn't be added into table description TableListCtrl widget
System description (please complete the following information):
- Operating System: all
- GRASS GIS version: all