[GRASS-SVN] r52850 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 23 00:47:13 PDT 2012
Author: lucadelu
Date: 2012-08-23 00:47:12 -0700 (Thu, 23 Aug 2012)
New Revision: 52850
Modified:
grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
small cosmetic change in error dialog of OnCreateMapset
Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py 2012-08-23 07:45:50 UTC (rev 52849)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py 2012-08-23 07:47:12 UTC (rev 52850)
@@ -708,10 +708,9 @@
self.OnSelectLocation(None)
self.lbmapsets.SetSelection(self.listOfMapsets.index(mapset))
except StandardError, e:
- dlg = wx.MessageDialog(parent = self, message = _("Unable to create new mapset: %s") % e,
- caption = _("Error"), style = wx.OK | wx.ICON_ERROR)
- dlg.ShowModal()
- dlg.Destroy()
+ GError(parent = self,
+ message = _("Unable to create new mapset: %s") % e,
+ showTraceback = False)
return False
self.bstart.SetFocus()
More information about the grass-commit
mailing list