浏览代码

wxgui data catalog: statusbar label fix when copying/moving maps

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72137 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 7 年之前
父节点
当前提交
c273e7bfdb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/datacatalog/tree.py

+ 2 - 2
gui/wxpython/datacatalog/tree.py

@@ -568,7 +568,7 @@ class DataCatalogTree(LocationMapTree):
         self.copy_type = self.selected_type
         self.copy_mapset = self.selected_mapset
         self.copy_location = self.selected_location
-        label = _("Map <{layer}> marked for moving.").format(layer=self.copy_layer)
+        label = _("Map <{layer}> marked for moving.").format(layer=self.copy_layer.label)
         self.showNotification.emit(message=label)
 
     def OnCopyMap(self, event):
@@ -578,7 +578,7 @@ class DataCatalogTree(LocationMapTree):
         self.copy_type = self.selected_type
         self.copy_mapset = self.selected_mapset
         self.copy_location = self.selected_location
-        label = _("Map <{layer}> marked for copying.").format(layer=self.copy_layer)
+        label = _("Map <{layer}> marked for copying.").format(layer=self.copy_layer.label)
         self.showNotification.emit(message=label)
 
     def OnRenameMap(self, event):