[GRASS-SVN] r72137 - grass/trunk/gui/wxpython/datacatalog

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 25 11:14:47 PST 2018


Author: martinl
Date: 2018-01-25 11:14:47 -0800 (Thu, 25 Jan 2018)
New Revision: 72137

Modified:
   grass/trunk/gui/wxpython/datacatalog/tree.py
Log:
wxgui data catalog: statusbar label fix when copying/moving maps

Modified: grass/trunk/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/trunk/gui/wxpython/datacatalog/tree.py	2018-01-25 17:07:15 UTC (rev 72136)
+++ grass/trunk/gui/wxpython/datacatalog/tree.py	2018-01-25 19:14:47 UTC (rev 72137)
@@ -568,7 +568,7 @@
         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 @@
         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):



More information about the grass-commit mailing list