Przeglądaj źródła

wx.gcp: reflecting changes of group dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57723 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 lat temu
rodzic
commit
6104f26683
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      gui/wxpython/gcp/manager.py

+ 2 - 2
gui/wxpython/gcp/manager.py

@@ -501,9 +501,9 @@ class GroupPage(TitledPage):
     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: