[GRASS-SVN] r33212 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 2 05:31:18 EDT 2008


Author: martinl
Date: 2008-09-02 05:31:18 -0400 (Tue, 02 Sep 2008)
New Revision: 33212

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI/vdigit: bug fix copy cats for GV_POINTS & GV_LINES


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 09:05:07 UTC (rev 33211)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 09:31:18 UTC (rev 33212)
@@ -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