소스 검색

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):