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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 8 07:42:54 PST 2014


Author: martinl
Date: 2014-11-08 07:42:54 -0800 (Sat, 08 Nov 2014)
New Revision: 62666

Modified:
   grass/trunk/gui/wxpython/gcp/manager.py
Log:
wxGUI/gcp: fix settings dialog on save method (giface defined by parent)


Modified: grass/trunk/gui/wxpython/gcp/manager.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/manager.py	2014-11-08 15:12:10 UTC (rev 62665)
+++ grass/trunk/gui/wxpython/gcp/manager.py	2014-11-08 15:42:54 UTC (rev 62666)
@@ -2847,7 +2847,7 @@
         UserSettings.ReadSettingsFile(settings=fileSettings)
         fileSettings['gcpman'] = UserSettings.Get(group='gcpman')
         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()
 
     def OnApply(self, event):



More information about the grass-commit mailing list