浏览代码

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 年之前
父节点
当前提交
130206b02c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()