[GRASS-SVN] r54386 - grass/trunk/gui/wxpython/iclass
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 24 06:57:18 PST 2012
Author: annakrat
Date: 2012-12-24 06:57:17 -0800 (Mon, 24 Dec 2012)
New Revision: 54386
Modified:
grass/trunk/gui/wxpython/iclass/dialogs.py
Log:
wxGUI/iclass: map selection widget instead of textctrl when exporting vector map
Modified: grass/trunk/gui/wxpython/iclass/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/dialogs.py 2012-12-24 14:52:33 UTC (rev 54385)
+++ grass/trunk/gui/wxpython/iclass/dialogs.py 2012-12-24 14:57:17 UTC (rev 54386)
@@ -544,7 +544,9 @@
dataSizer.Add(item = wx.StaticText(parent = self.panel, id = wx.ID_ANY,
label = _("Enter name of new vector map:")),
proportion = 0, flag = wx.ALL, border = 3)
- self.vectorNameCtrl = wx.TextCtrl(parent = self.panel, id = wx.ID_ANY, size = (400, -1))
+ self.vectorNameCtrl = gselect.Select(parent = self.panel, type = 'vector',
+ mapsets = [grass.gisenv()['MAPSET']],
+ size = globalvar.DIALOG_GSELECT_SIZE)
if self.vectorName:
self.vectorNameCtrl.SetValue(self.vectorName)
dataSizer.Add(item = self.vectorNameCtrl,
More information about the grass-commit
mailing list