Explorar el Código

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

Tomas Zigo hace 4 años
padre
commit
304f35ef47
Se han modificado 1 ficheros con 2 adiciones y 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)