소스 검색

wxGUI: fix variable initialization

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41621 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 년 전
부모
커밋
322f9b8c79
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      gui/wxpython/gui_modules/gmodeler.py

+ 1 - 0
gui/wxpython/gui_modules/gmodeler.py

@@ -117,6 +117,7 @@ class ModelFrame(wx.Frame):
 
     def OnModelOpen(self, event):
         """!Load model from file"""
+        filename = ''
         global debug
         if debug is False:
             dlg = wx.FileDialog(parent = self, message=_("Choose model file"),