Переглянути джерело

wxGUI: fix GetDisplayVectSettings() usage

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54750 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 роки тому
батько
коміт
265e0a9351
1 змінених файлів з 3 додано та 4 видалено
  1. 3 4
      gui/wxpython/lmgr/layertree.py

+ 3 - 4
gui/wxpython/lmgr/layertree.py

@@ -1086,13 +1086,12 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
                 if UserSettings.Get(group = 'rasterLayer', key = 'opaque', subkey = 'enabled'):
                     cmd.append('-n')
             elif ltype == 'vector':
-                cmd.append(GetDisplayVectSettings())
-
+                cmd += GetDisplayVectSettings()
+            
             # ltype == 'thememap':
             # -s flag requested, otherwise only first thematic category is displayed
             # should be fixed by C-based d.thematic.* modules
-            
-
+        
         if cmd:
             GUI(parent = self, centreOnParent = False).ParseCommand(cmd,
                                                                     completed = (self.GetOptData,layer,params))