Skip to content

Commit

Permalink
wxGUI/vselect: fix output fully qualified vector name (#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 Jul 19, 2022
1 parent ed9dcc1 commit bbe4856
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 bbe4856

Please sign in to comment.