From bbe485668f6b1175e4dba7c60b2f4757be34b3cf Mon Sep 17 00:00:00 2001 From: Tomas Zigo <50632337+tmszi@users.noreply.github.com> Date: Tue, 19 Jul 2022 06:02:08 +0200 Subject: [PATCH] wxGUI/vselect: fix output fully qualified vector name (#2483) For the correct way to remove a vector map layer from the Map Display tree if map is removed from the Data Catalog tree. --- gui/wxpython/gui_core/vselect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/wxpython/gui_core/vselect.py b/gui/wxpython/gui_core/vselect.py index 961ef570148..a69af5b60fb 100644 --- a/gui/wxpython/gui_core/vselect.py +++ b/gui/wxpython/gui_core/vselect.py @@ -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,