瀏覽代碼

wxGUI/forms: enable to create new directory for G_OPT_M_DIR

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71217 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 7 年之前
父節點
當前提交
80c527f240
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/gui_core/forms.py

+ 1 - 0
gui/wxpython/gui_core/forms.py

@@ -1910,6 +1910,7 @@ class CmdPanel(wx.Panel):
                             _('Directory')),
                         buttonText=_('Browse'),
                         startDirectory=os.getcwd(),
+                        newDirectory=True,
                         changeCallback=self.OnSetValue)
                     value = self._getValue(p)
                     if value: