Browse Source

wxGUI/dbmgr: fix insert record for each category into table (#1333)

Tomas Zigo 4 years ago
parent
commit
c7929313c7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/dbmgr/base.py

+ 2 - 1
gui/wxpython/dbmgr/base.py

@@ -3635,7 +3635,8 @@ class LayerBook(wx.Notebook):
                        layer=layer,
                        qlayer=layer,
                        option='cat',
-                       columns=key)
+                       columns=key,
+                       overwrite=True)
 
         if ret == 0:
             # update dialog (only for new layer)