[GRASS-SVN] r66784 - grass/branches/releasebranch_7_0/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 11 07:50:30 PST 2015
Author: martinl
Date: 2015-11-11 07:50:30 -0800 (Wed, 11 Nov 2015)
New Revision: 66784
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: fix menu when vector map open for editing (bgmap is currently disabled)
(merge r66783 from trunk)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py 2015-11-11 15:41:40 UTC (rev 66783)
+++ grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py 2015-11-11 15:50:30 UTC (rev 66784)
@@ -6,7 +6,7 @@
Classes:
- layertree::LayerTree
-(C) 2007-2014 by the GRASS Development Team
+(C) 2007-2015 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -562,10 +562,10 @@
vdigitLayer = digitToolbar.GetLayer()
if vdigitLayer is layer:
self.popupMenu.Enable(self.popupID['remove'], False)
- self.popupMenu.Enable(self.popupID['bgmap'], False)
+ # self.popupMenu.Enable(self.popupID['bgmap'], False)
self.popupMenu.Enable(self.popupID['topo'], False)
- else:
- self.popupMenu.Enable(self.popupID['bgmap'], True)
+ # else:
+ ### self.popupMenu.Enable(self.popupID['bgmap'], True)
item = wx.MenuItem(self.popupMenu, id = self.popupID['meta'], text = _("Metadata"))
item.SetBitmap(MetaIcon(img = 'layer-info').GetBitmap(self.bmpsize))
More information about the grass-commit
mailing list