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
d8d91f49f3
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

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