[GRASS-SVN] r57723 - grass/trunk/gui/wxpython/gcp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 17 03:04:25 PDT 2013


Author: turek
Date: 2013-09-17 03:04:24 -0700 (Tue, 17 Sep 2013)
New Revision: 57723

Modified:
   grass/trunk/gui/wxpython/gcp/manager.py
Log:
wx.gcp: reflecting changes of group dialog

Modified: grass/trunk/gui/wxpython/gcp/manager.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/manager.py	2013-09-17 10:02:43 UTC (rev 57722)
+++ grass/trunk/gui/wxpython/gcp/manager.py	2013-09-17 10:04:24 UTC (rev 57723)
@@ -501,9 +501,9 @@
     def OnMkGroup(self, event):
         """!Create new group in source location/mapset"""
         dlg = GroupDialog(parent = self, defaultGroup = self.xygroup)
-
+        dlg.DisableSubgroupEdit()
         dlg.ShowModal()
-        gr = dlg.GetSelectedGroup()
+        gr, s = dlg.GetSelectedGroup()
         if gr in dlg.GetExistGroups():
             self.xygroup = gr
         else:



More information about the grass-commit mailing list