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

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

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