[GRASS-SVN] r71299 - grass/branches/releasebranch_7_2/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 22 05:44:14 PDT 2017


Author: annakrat
Date: 2017-07-22 05:44:14 -0700 (Sat, 22 Jul 2017)
New Revision: 71299

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: enable to create new directory for G_OPT_M_DIR (merge from trunk, r71217)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gui_core/forms.py	2017-07-22 12:35:54 UTC (rev 71298)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gui_core/forms.py	2017-07-22 12:44:14 UTC (rev 71299)
@@ -1892,6 +1892,7 @@
                             _('Directory')),
                         buttonText=_('Browse'),
                         startDirectory=os.getcwd(),
+                        newDirectory=True,
                         changeCallback=self.OnSetValue)
                     value = self._getValue(p)
                     if value:



More information about the grass-commit mailing list