Explorar o código

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

Tomas Zigo %!s(int64=4) %!d(string=hai) anos
pai
achega
304f35ef47
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      gui/wxpython/dbmgr/base.py

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

@@ -3634,7 +3634,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)