[GRASS-SVN] r72138 - grass/branches/releasebranch_7_4/gui/wxpython/datacatalog
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 25 11:16:54 PST 2018
Author: martinl
Date: 2018-01-25 11:16:54 -0800 (Thu, 25 Jan 2018)
New Revision: 72138
Modified:
grass/branches/releasebranch_7_4/gui/wxpython/datacatalog/tree.py
Log:
wxgui data catalog: statusbar label fix when copying/moving maps
(merge r72137 from trunk)
Modified: grass/branches/releasebranch_7_4/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/branches/releasebranch_7_4/gui/wxpython/datacatalog/tree.py 2018-01-25 19:14:47 UTC (rev 72137)
+++ grass/branches/releasebranch_7_4/gui/wxpython/datacatalog/tree.py 2018-01-25 19:16:54 UTC (rev 72138)
@@ -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