Преглед изворни кода

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

Tomas Zigo пре 4 година
родитељ
комит
c7929313c7
1 измењених фајлова са 2 додато и 1 уклоњено
  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)