Browse Source

wxGUI/gcp: fix settings dialog on save method (giface defined by parent)
(merge https://trac.osgeo.org/grass/changeset/62666 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62667 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 10 years ago
parent
commit
eec34af1d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gcp/manager.py

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

@@ -2846,7 +2846,7 @@ class GrSettingsDialog(wx.Dialog):
         UserSettings.ReadSettingsFile(settings=fileSettings)
         UserSettings.ReadSettingsFile(settings=fileSettings)
         fileSettings['gcpman'] = UserSettings.Get(group='gcpman')
         fileSettings['gcpman'] = UserSettings.Get(group='gcpman')
         file = UserSettings.SaveToFile(fileSettings)
         file = UserSettings.SaveToFile(fileSettings)
-        self._giface.WriteLog(_('GCP Manager settings saved to file \'%s\'.') % file)
+        self.parent._giface.WriteLog(_('GCP Manager settings saved to file \'%s\'.') % file)
         #self.Close()
         #self.Close()
 
 
     def OnApply(self, event):
     def OnApply(self, event):