[GRASS-SVN] r50552 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 30 06:42:45 EST 2012


Author: martinl
Date: 2012-01-30 03:42:45 -0800 (Mon, 30 Jan 2012)
New Revision: 50552

Modified:
   grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
wxGUI: fix launching location wizard from welcome screen


Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py	2012-01-30 11:24:37 UTC (rev 50551)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py	2012-01-30 11:42:45 UTC (rev 50552)
@@ -385,9 +385,9 @@
         
     def OnWizard(self, event):
         """!Location wizard started"""
-        from gui_modules import location_wizard
-        gWizard = location_wizard.LocationWizard(parent = self,
-                                                 grassdatabase = self.tgisdbase.GetValue())
+        from location_wizard.wizard import LocationWizard
+        gWizard = LocationWizard(parent = self,
+                                 grassdatabase = self.tgisdbase.GetValue())
         if gWizard.location !=  None:
             self.OnSetDatabase(event)
             self.UpdateMapsets(os.path.join(self.gisdbase, gWizard.location))



More information about the grass-commit mailing list