[GRASS-SVN] r33213 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 2 05:32:33 EDT 2008
Author: martinl
Date: 2008-09-02 05:32:33 -0400 (Tue, 02 Sep 2008)
New Revision: 33213
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI/vdigit: bug fix copy cats for GV_POINTS & GV_LINES
(merge from devbr6, r33212)
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2008-09-02 09:31:18 UTC (rev 33212)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2008-09-02 09:32:33 UTC (rev 33213)
@@ -1440,7 +1440,7 @@
elif digitToolbar.GetAction() in ("copyCats", "copyAttrs"):
if not hasattr(self, "copyCatsIds"):
# 'from' -> select by point
- nselected = digitClass.driver.SelectLineByPoint(pos1, type=VDigit_Lines_Type)
+ nselected = digitClass.driver.SelectLineByPoint(pos1, digitClass.GetSelectType())
if nselected:
if UserSettings.Get(group='advanced', key='digitInterface', subkey='type') == 'vedit':
qdist = 10.0 * ((self.Map.region['e'] - self.Map.region['w']) / \
More information about the grass-commit
mailing list