Browse Source

fix save to graphics file, backport from devbr

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42268 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 years ago
parent
commit
130206b02c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/mapdisp.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp.py

@@ -1195,7 +1195,7 @@ class MapFrame(wx.Frame):
             if ext != extType:
                 path = base + '.' + extType
             
-            self.MapWindow.SaveToFile(path, type)
+            self.MapWindow.SaveToFile(path, fileType)
             
         dlg.Destroy()