[GRASS-SVN] r29493 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 21 16:14:33 EST 2007


Author: martinl
Date: 2007-12-21 16:14:33 -0500 (Fri, 21 Dec 2007)
New Revision: 29493

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: fixing typo in variable name (digit tool)

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2007-12-21 15:28:18 UTC (rev 29492)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2007-12-21 21:14:33 UTC (rev 29493)
@@ -920,7 +920,7 @@
                                                                    cat=digitClass.settings["category"],
                                                                    pos=posWindow,
                                                                    action="add")
-                        if addRecordDlg.mapInfo and \
+                        if addRecordDlg.mapDBInfo and \
                                addRecordDlg.ShowModal() == wx.ID_OK:
                             sqlfile = tempfile.NamedTemporaryFile(mode="w")
                             for sql in addRecordDlg.GetSQLString():
@@ -975,7 +975,7 @@
                                                                    qdist=qdist)
 
                     line = digitToolbar.attributesDialog.GetLine()
-                    if digitToolbar.attributesDialog.mapInfo and line:
+                    if digitToolbar.attributesDialog.mapDBInfo and line:
                         # highlight feature & re-draw map
                         digitClass.driver.SetSelected([line])
                         if not digitToolbar.attributesDialog.IsShown():



More information about the grass-commit mailing list