소스 검색

wxGUI: fix import order so that GUI doesn't crash when there is a problem with ctypes (merge from trunk, https://trac.osgeo.org/grass/changeset/66065)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@66066 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 년 전
부모
커밋
45183416e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/wxpython/mapdisp/frame.py

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

@@ -31,7 +31,6 @@ import wx
 import wx.aui
 
 from core.render        import Map
-from vdigit.toolbars    import VDigitToolbar
 from mapdisp.toolbars   import MapToolbar, NvizIcons
 from mapdisp.gprint     import PrintOptions
 from core.gcmd          import GError, GMessage, RunCommand
@@ -263,6 +262,7 @@ class MapFrame(SingleMapFrame):
         """Add vector digitizer toolbar
         """
         from vdigit.main import haveVDigit, VDigit
+        from vdigit.toolbars import VDigitToolbar
         
         if not haveVDigit:
             from vdigit import errorMsg