Forráskód Böngészése

wxGUI/gcp: fix launch add vector map to group dialog (#924)

Tomas Zigo 4 éve
szülő
commit
29b4b6e180
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      gui/wxpython/gcp/manager.py

+ 1 - 1
gui/wxpython/gcp/manager.py

@@ -2563,7 +2563,7 @@ class VectGroup(wx.Dialog):
                     line = line.replace('\n', '')
                     if len(line) < 1:
                         continue
-                    checked.append(line)
+                    checked.append(line.split('@')[0])
                 self.listMap.SetCheckedStrings(checked)
             finally:
                 f.close()