[GRASS-SVN] r47267 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 27 10:51:04 EDT 2011
Author: mmetz
Date: 2011-07-27 07:51:03 -0700 (Wed, 27 Jul 2011)
New Revision: 47267
Modified:
grass/trunk/gui/wxpython/gui_modules/sqlbuilder.py
Log:
wxGUI: fix sqlbuilder
Modified: grass/trunk/gui/wxpython/gui_modules/sqlbuilder.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/sqlbuilder.py 2011-07-27 14:47:23 UTC (rev 47266)
+++ grass/trunk/gui/wxpython/gui_modules/sqlbuilder.py 2011-07-27 14:51:03 UTC (rev 47267)
@@ -129,6 +129,7 @@
if self.qtype.lower() == "select":
self.text_sql.SetValue("SELECT * FROM %s" % self.tablename)
self.text_sql.SetInsertionPointEnd()
+ self.text_sql.SetToolTipString(_("Example: %s") % "SELECT * FROM roadsmajor WHERE MULTILANE = 'no' OR OBJECTID < 10")
wx.CallAfter(self.text_sql.SetFocus)
#
@@ -301,7 +302,7 @@
self.list_values.Append(line.strip())
else:
break
- i += 0
+ i += 1
def OnSampleValues(self, event):
"""!Get sample values"""
More information about the grass-commit
mailing list