Skip to content

Commit

Permalink
wxGUI/vselect: fix output fully qualified vector name (OSGeo#2483)
Browse files Browse the repository at this point in the history
For the correct way to remove a vector map layer from the Map Display
tree if map is removed from the Data Catalog tree.
  • Loading branch information
tmszi authored and ninsbl committed Oct 26, 2022
1 parent f1f59c9 commit f017f4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/wxpython/gui_core/vselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def OnExportMap(self, event):
if ret == 0:
tree = self._giface.GetLayerTree()
if tree:
outMap = f"{outMap}@{grass.gisenv()['MAPSET']}"
tree.AddLayer(
ltype="vector",
lname=outMap,
Expand Down

0 comments on commit f017f4a

Please sign in to comment.