Explorar o código

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

Tomas Zigo %!s(int64=4) %!d(string=hai) anos
pai
achega
29b4b6e180
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()